Skip to content

Commit b0dc611

Browse files
committed
🐛 fix windows behavior
1 parent 42609c5 commit b0dc611

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-editor-cli",
3-
"version": "0.8.3",
3+
"version": "0.8.4",
44
"description": "GraphQL -> anything. Use GraphQL as your source of truth. GraphQL Editor Official CLI.",
55
"main": "lib/api.js",
66
"author": "Artur Czemiel",

packages/cli/src/common/spawn.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ export const spawnPromise = async ({
3333
env: {
3434
...process.env,
3535
cwd: process.cwd(),
36-
['PATH']: `${path.join(nodeModules, '.bin')}:${process.env.PATH}`,
36+
['PATH']: `${path.join(nodeModules, '.bin')}${
37+
os.platform() === 'win32' ? ';' : ':'
38+
}${process.env.PATH}`,
3739
...envs,
3840
},
3941
shell: os.platform() === 'win32',

packages/sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sandbox",
33
"private": true,
4-
"version": "0.8.3",
4+
"version": "0.8.4",
55
"description": "GraphQL -> anything. Use GraphQL as your source of truth. GraphQL Editor Official CLI.",
66
"author": "Artur Czemiel",
77
"license": "MIT",

0 commit comments

Comments
 (0)