This repository was archived by the owner on Feb 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const mkdirp = require('mkdirp-promise');
7
7
const rimraf = require ( 'rimraf-promise' ) ;
8
8
const Promise = require ( 'bluebird' ) ;
9
9
10
- const output = require ( './mute' ) ;
10
+ // const output = require('./helpers /mute');
11
11
const combinations = require ( './helpers/combinations' ) ;
12
12
const zip = require ( './helpers/zip' ) ;
13
13
@@ -27,9 +27,9 @@ co(function *() {
27
27
fountain . env . cwd = combinationPath ;
28
28
helpers . mockPrompt ( fountain , options ) ;
29
29
const run = Promise . promisify ( fountain . run . bind ( fountain ) ) ;
30
- output . mute ( ) ;
30
+ // output.mute();
31
31
yield run ( ) ;
32
- output . unmute ( ) ;
32
+ // output.unmute();
33
33
yield zip . zipFolder ( combinationPath , `${ combinationPath } .zip` ) ;
34
34
console . log ( 'Generated' , combinationPath ) ;
35
35
}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ combinations.full().forEach(options => {
60
60
method : 'POST' ,
61
61
filePath : combinationPath
62
62
} ) ;
63
- console . log ( 'Upload response' , uploadResponse ) ;
64
-
65
- exec ( 'sleep' , [ 3 ] ) ;
63
+ if ( uploadResponse . message ) {
64
+ console . log ( 'Upload response has message' , uploadResponse ) ;
65
+ }
66
66
} ) ;
You can’t perform that action at this time.
0 commit comments