Skip to content

Commit 42609c5

Browse files
committed
🐛 workaround gostucoo remote paths
1 parent 22b2a3b commit 42609c5

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
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.2",
3+
"version": "0.8.3",
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/stucco/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ export const addStucco = ({
3333
};
3434
fs.writeFileSync(stuccoPath, JSON.stringify(stuccoFileContent, null, 4));
3535
};
36-
3736
const toFile = (s: string) => {
3837
const p = platform();
3938
if (p === 'win32') {
40-
return `"${s}"`;
39+
return '/' + s.split(path.sep).slice(1).join(path.posix.sep);
4140
}
4241
return s;
4342
};

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.2",
4+
"version": "0.8.3",
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)