Skip to content

Commit

Permalink
fix: fixed recordScreenshots option
Browse files Browse the repository at this point in the history
Closes #30
  • Loading branch information
Chris Wren committed Apr 4, 2014
1 parent adb269c commit 52c8b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sauce_launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var SauceLauncher = function(args, sauceConnect, /* config.sauceLabs */ config,
name: args.testName || config.testName || 'Karma test',
'tunnel-identifier': tunnelIdentifier,
'record-video': args.recordVideo || config.recordVideo || false,
'record-screenshots': args.recordScreenshots || config.recordScreenshots || true,
'record-screenshots': (args.recordScreenshots === false || config.recordScreenshots === false) ? false : true,
'build': args.build || config.build || process.env.TRAVIS_BUILD_NUMBER ||
process.env.BUILD_NUMBER || process.env.BUILD_TAG ||
process.env.CIRCLE_BUILD_NUM || null,
Expand Down

0 comments on commit 52c8b81

Please sign in to comment.