Skip to content
This repository was archived by the owner on Feb 27, 2019. It is now read-only.

Commit bacfc34

Browse files
committed
unmute yeoman to understand why dist fails
1 parent 637190f commit bacfc34

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

scripts/dist.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const mkdirp = require('mkdirp-promise');
77
const rimraf = require('rimraf-promise');
88
const Promise = require('bluebird');
99

10-
const output = require('./mute');
10+
// const output = require('./helpers/mute');
1111
const combinations = require('./helpers/combinations');
1212
const zip = require('./helpers/zip');
1313

@@ -27,9 +27,9 @@ co(function *() {
2727
fountain.env.cwd = combinationPath;
2828
helpers.mockPrompt(fountain, options);
2929
const run = Promise.promisify(fountain.run.bind(fountain));
30-
output.mute();
30+
// output.mute();
3131
yield run();
32-
output.unmute();
32+
// output.unmute();
3333
yield zip.zipFolder(combinationPath, `${combinationPath}.zip`);
3434
console.log('Generated', combinationPath);
3535
}
File renamed without changes.

scripts/upload.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ combinations.full().forEach(options => {
6060
method: 'POST',
6161
filePath: combinationPath
6262
});
63-
console.log('Upload response', uploadResponse);
64-
65-
exec('sleep', [3]);
63+
if (uploadResponse.message) {
64+
console.log('Upload response has message', uploadResponse);
65+
}
6666
});

0 commit comments

Comments
 (0)