Skip to content

Commit

Permalink
install: fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Nov 23, 2023
1 parent 7875c51 commit 80a1a78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scrypted",
"version": "1.3.4",
"version": "1.3.5",
"description": "",
"main": "./dist/packages/cli/src/main.js",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ async function runCommand(command: string, ...args: string[]) {
const cp = child_process.spawn(command, args, {
stdio: 'inherit',
env: {
...process.env,
// https://github.com/lovell/sharp/blob/eefaa998725cf345227d94b40615e090495c6d09/lib/libvips.js#L115C19-L115C46
SHARP_IGNORE_GLOBAL_LIBVIPS: 'true',
},
Expand Down

0 comments on commit 80a1a78

Please sign in to comment.