SkipSsl flag enabled should set npm's strict-ssl accordingly.

This commit is contained in:
Asaf Shakarzy
2016-05-26 00:28:08 +03:00
parent 855c36c395
commit 9fcb235895
+1 -1
View File
@@ -234,7 +234,7 @@ func alwaysAuthCommand() *exec.Cmd {
// Skip ssl verification
func skipVerifyCommand() *exec.Cmd {
return exec.Command("npm", "config", "set", "ca=\"\"")
return exec.Command("npm", "config", "set", "strict-ssl", "false")
}
// Publishes the package