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

Commit 61b8095

Browse files
author
Christopher McCulloh
committed
adds back in fails on no answers in prompts.
1 parent 0c8c285 commit 61b8095

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

grunt/config/prompt.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ module.exports = function (grunt) {
243243
}
244244
],
245245
then: function (answers, done) {
246-
// if (answers['release.rannpminstall'] === false) {
247-
// grunt.fail.fatal('Please run `npm install && bower install`', 1);
248-
// }
246+
if (answers['release.rannpminstall'] === false) {
247+
grunt.fail.fatal('Please run `npm install && bower install`', 1);
248+
}
249249
}
250250
}
251251
},
@@ -259,9 +259,9 @@ module.exports = function (grunt) {
259259
}
260260
],
261261
then: function (answers, done) {
262-
// if (answers['release.rangrunttest'] === false) {
263-
// grunt.fail.fatal('Please run `grunt test`, and make sure all tests pass', 1);
264-
// }
262+
if (answers['release.rangrunttest'] === false) {
263+
grunt.fail.fatal('Please run `grunt test`, and make sure all tests pass', 1);
264+
}
265265
}
266266
}
267267
},
@@ -275,9 +275,9 @@ module.exports = function (grunt) {
275275
}
276276
],
277277
then: function (answers, done) {
278-
// if (answers['release.ransauce'] === false) {
279-
// grunt.fail.fatal('Please run `grunt saucelabs`, and make sure all tests pass', 1);
280-
// }
278+
if (answers['release.ransauce'] === false) {
279+
grunt.fail.fatal('Please run `grunt saucelabs`, and make sure all tests pass', 1);
280+
}
281281
}
282282
}
283283
},

0 commit comments

Comments
 (0)