Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias ETIENNE committed Aug 10, 2015
1 parent f56efbd commit 1275dc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Cli.prototype.run = function () {
Logger.error("Muguet cannot find the DOCKER_HOST environment variable.\n");
Logger.error("Please run muguet the following way to make environment variables accessible in sudo mode:");
Logger.error(String(" sudo -E bash -c 'muguet " + this.argv._[0] + "'\n").yellow);
return
return false
}
}

Expand Down
6 changes: 4 additions & 2 deletions lib/check-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ var getBoot2DockerIP = function () {
if (B2D_IP !== null) {
return B2D_IP
}
return B2D_IP = execAsNormalUser('boot2docker ip').stdout.trim()
B2D_IP = execAsNormalUser('boot2docker ip').stdout.trim()
return B2D_IP
}


Expand All @@ -36,7 +37,8 @@ var hasBoot2Docker = exports.hasBoot2Docker = function () {
if (B2D_EXISTS !== null) {
return B2D_EXISTS
}
return B2D_EXISTS = execAsNormalUser('boot2docker version').status === 0
B2D_EXISTS = execAsNormalUser('boot2docker version').status === 0
return B2D_EXISTS
}

/**
Expand Down

0 comments on commit 1275dc2

Please sign in to comment.