Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a4fd391

Browse filesBrowse files
committed
chore: execute saucelabs-task only if access-key exists
- up to now, the existance of the SAUCE_USERNAME was checked but this variable is even present in pull-requests from other repos. This means that builds fail, because the access key is not there. This change looks for SAUCE_ACCESS_KEY instead, which is a secure variable, only present in build originating from the handlebars.js repo.
1 parent 9d5aa36 commit a4fd391
Copy full SHA for a4fd391

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Gruntfile.js

Copy file name to clipboardExpand all lines: Gruntfile.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ module.exports = function(grunt) {
267267

268268
grunt.registerTask('bench', ['metrics']);
269269

270-
if (process.env.SAUCE_USERNAME) {
270+
if (process.env.SAUCE_ACCESS_KEY) {
271271
grunt.registerTask('sauce', ['concat:tests', 'connect', 'saucelabs-mocha']);
272272
} else {
273273
grunt.registerTask('sauce', []);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.