Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #113 from earnubs/patch-1

Silent shifting
  • Loading branch information...
commit aeec1f998576718e8324591dc332a8a71bdb4c6a 2 parents 0e3a4e5 + 2c89ce6
Clarence Leung clarle authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 lib/index.js
16 lib/index.js
View
@@ -82,7 +82,15 @@ exports.init = function (opts, initCallback) {
require('./help');
return;
}
+
+ if (options.quiet) {
+ log.quiet();
+ }
+ if (options.silent) {
+ log.silent();
+ }
+
if (options['global-config']) {
log.info('racing to find the closest .shifter.json file');
find(CWD, '.shifter.json', function(err, file) {
@@ -112,14 +120,6 @@ exports.init = function (opts, initCallback) {
return;
}
- if (options.quiet) {
- log.quiet();
- }
-
- if (options.silent) {
- log.silent();
- }
-
log.info('revving up');
if (!options.walk) {
log.info('looking for ' + buildFileName + ' file');
Please sign in to comment.
Something went wrong with that request. Please try again.