We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e9991 commit 6db4c15Copy full SHA for 6db4c15
client/src/setupCommands.ts
@@ -75,7 +75,7 @@ export function setupCommands(context: ExtensionContext) {
75
return;
76
}
77
if (isReadOnly) {
78
- const path = join(context.globalStorageUri.fsPath, `processing-sketch-${new Date().getTime()}`, folder.split('/').pop() || 'sketch');
+ const path = join(context.globalStorageUri.fsPath, `processing-sketch-${new Date().getTime()}`, dirname(folder));
79
try {
80
await workspace.fs.copy(Uri.file(folder), Uri.file(path), { overwrite: true });
81
folder = path;
0 commit comments