mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-06 18:01:24 +02:00
#536 - Set the script root folder
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user