Skip to content

Commit

Permalink
Fix: avoid outputting broken publish command when OTP is provided (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
not-an-aardvark committed Oct 17, 2018
1 parent 9d0445a commit 7444907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/release-ops.js
Expand Up @@ -371,7 +371,7 @@ function publishRelease() {
}

if (process.env.NPM_OTP && /^\d+$/.test(process.env.NPM_OTP)) {
command += "--otp=" + process.env.NPM_OTP;
command += " --otp=" + process.env.NPM_OTP;
}

ShellOps.exec(command);
Expand Down

0 comments on commit 7444907

Please sign in to comment.