-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore:
cli.test.ts
may fail on Mac/Windows (#1645)
When using NodeJS version managers like [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm), the NodeJS binary location can be a bit "funny". For example on macOS with fnm, the NodeJS binary path may contain folder `Application Support` which has a space in it. Wrapping the process.execPath interpolated value into quotes solves this: ```ts execSync(`"${process.execPath}" ${cli}`, { cwd: fixture }); ``` Fixes #1644. Co-authored-by: Eli Polonsky <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters