Skip to content

Commit

Permalink
warn instead of fail when install-command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
cadorn committed Apr 26, 2013
1 parent 5247156 commit 6386188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/commands/install-command.js
Expand Up @@ -21,7 +21,7 @@ exports.getCommand = function() {

exports.install(function(err) {
if (err) {
TERM.stderr.writenl("\0red([sm] WARNING: Could not link `sm` into your PATH!\0)");
TERM.stderr.writenl("\0red([sm] ERROR: Could not link `sm` into your PATH!\0)");
TERM.stderr.writenl("\0red([sm] You need to link \0bold(" + COMMAND_PATH + "\0) into your PATH yourself!\0)");
return process.exit(0);
//return CLI.failAndExit(true);
Expand Down
2 changes: 1 addition & 1 deletion scripts/postinstall.js
Expand Up @@ -19,7 +19,7 @@ INSTALL_COMMAND.install(function(err, commandPath) {
"",
"******************************************************************************************\0)"
].join("\n"));
return CLI.failAndExit(true);
return; // CLI.failAndExit(true);
}
TERM.stderr.writenl([
"",
Expand Down

0 comments on commit 6386188

Please sign in to comment.