wormhole-foundation / native-token-transfers

Open, flexible, and composable framework for transferring tokens across blockchains without liquidity pools
Other
22 stars 39 forks source link

CLI: Symlink fails when working directory path contains spaces #537

Open evgeniko opened 1 month ago

evgeniko commented 1 month ago

When the working directory path contains spaces, the CLI installation fails with the following error:

946 |         });
947 |     }
948 | 
949 |     // NOTE: we create this symlink whether or not the file exists.
950 |     // this way, if it's created later, the symlink will be correct
951 |     execSync(`ln -fs $(pwd)/overrides.json $(pwd)/${worktreeName}/overrides.json`, {
          ^
error: null
   errno: -1
   code: "1"
 syscall: "spawnSync"
   path: "/bin/sh"