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 bcf918b commit 1f63d2cCopy full SHA for 1f63d2c
src/commands/uploadWidget.ts
@@ -467,7 +467,11 @@ function getWebviewContent(
467
};
468
469
// Add folder configuration if specified
470
- ${folderParam ? `baseConfig.folder = "${folderParam.split(':')[1]?.trim().replace(/"/g, '')}";` : ''}
+ ${folderParam ? (() => {
471
+ const key = folderParam.includes('asset_folder') ? 'asset_folder' : 'folder';
472
+ const pathValue = folderParam.split(':')[1]?.trim().replace(/"/g, '') || '';
473
+ return `baseConfig.${key} = "${pathValue}";`;
474
+ })() : ''}
475
476
// Add signed upload configuration if needed
477
if (preset.signed) {
0 commit comments