Skip to content

Commit 8901c28

Browse files
committedDec 3, 2019
chore: fix task name in build
1 parent e97685e commit 8901c28

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎Gruntfile.js

+7-4
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,13 @@ module.exports = function(grunt) {
264264
this.registerTask('amd', ['babel:amd', 'requirejs']);
265265

266266
grunt.registerTask('bench', ['metrics']);
267-
grunt.registerTask(
268-
'sauce',
269-
process.env.SAUCE_USERNAME ? ['tests', 'connect', 'saucelabs-mocha'] : []
270-
);
267+
268+
if (process.env.SAUCE_USERNAME) {
269+
grunt.registerTask('sauce', ['concat:tests', 'connect', 'saucelabs-mocha']);
270+
} else {
271+
grunt.registerTask('sauce', []);
272+
}
273+
271274
// Requires secret properties (saucelabs-credentials etc.) from .travis.yaml
272275
grunt.registerTask('extensive-tests-and-publish-to-aws', [
273276
'default',

0 commit comments

Comments
 (0)
Please sign in to comment.