Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
fix(pluggable-widgets-tools): add double quotes around path
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley committed Oct 12, 2021
1 parent 413ec70 commit 16f9a9e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export function widgetTyping({ sourceDir }) {
propsTypingFilePaths = await runTransformation(sourceDir);
}
await execShellCommand(
`npx pluggable-widgets-tools format:custom-files -- ${propsTypingFilePaths.map(f => `"${f}"`).join(" ")}`,
`npx pluggable-widgets-tools format:custom-files -- ${propsTypingFilePaths
.map(f => `'"${f}"'`)
.join(" ")}`,
sourceDir
);
firstRun = false;
Expand Down

0 comments on commit 16f9a9e

Please sign in to comment.