#536 - Set the script root folder

This commit is contained in:
Elio Struyf
2023-03-14 22:32:16 +01:00
parent f583ab2f97
commit 1e3b4c8eaf
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -24,6 +24,8 @@
### ⚡️ Optimizations
- [#536](https://github.com/estruyf/vscode-front-matter/issues/536): Set the start location from the script to the root of the workspace
### 🐞 Fixes
- [#518](https://github.com/estruyf/vscode-front-matter/issues/518): Fix an issue where the `YAML` parser adds line breaks to long strings
+1 -1
View File
@@ -363,7 +363,7 @@ export class CustomScript {
const fullScript = `${command} ${scriptPath} ${args}`;
Logger.info(`Executing: ${fullScript}`);
exec(fullScript, (error, stdout) => {
exec(fullScript, { cwd: wsPath }, (error, stdout) => {
if (error) {
reject(error.message);
return;