Skip to content
Permalink
Browse files

fix(cli): use scoped package path in vscode debugger scripts (#524)

* fix(cli): use scoped package path in vscode debugger scripts

* fix(cli): use windows style newlines in vscode.cmd
  • Loading branch information
jrobeson authored and MarshallOfSound committed Jul 5, 2018
1 parent 21aceca commit f1b90b6728380048b4f3d5c4a7f5596a0d262e33
Showing with 10 additions and 10 deletions.
  1. +9 −9 packages/api/cli/script/vscode.cmd
  2. +1 −1 packages/api/cli/script/vscode.sh
@@ -1,9 +1,9 @@
@echo off

SETLOCAL
SET FORGE_ARGS=%*

SET FORGE_ARGS=%FORGE_ARGS: =~ ~%
node "%~dp0/../../electron-forge/dist/electron-forge-start.js" --vscode -- ~%FORGE_ARGS%~

ENDLOCAL
@echo off

SETLOCAL
SET FORGE_ARGS=%*

SET FORGE_ARGS=%FORGE_ARGS: =~ ~%
node "%~dp0/../../@electron-forge/cli/dist/electron-forge-start.js" --vscode -- ~%FORGE_ARGS%~

ENDLOCAL
@@ -4,4 +4,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ARGS=$@
ARGS=${ARGS// /\~ \~}

node $DIR/../electron-forge/dist/electron-forge-start --vscode -- \~$ARGS\~
node $DIR/../@electron-forge/cli/dist/electron-forge-start --vscode -- \~$ARGS\~

0 comments on commit f1b90b6

Please sign in to comment.
You can’t perform that action at this time.