Skip to content

Commit

Permalink
feat: use windows compatible && not ; in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 authored and Mila Votradovec committed Jul 24, 2019
1 parent ebfcc9f commit 9b94165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/protect/wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function getNewScriptContent(scriptContent, cmd) {
if (scriptContent) {
// only add the command if it's not already in the script
if (scriptContent.indexOf(cmd) === -1) {
return cmd + '; ' + scriptContent;
return cmd + '&& ' + scriptContent;
}
return scriptContent;
}
Expand Down

0 comments on commit 9b94165

Please sign in to comment.