Skip to content

Commit

Permalink
Fix double setting deploy timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
DeviaVir committed May 10, 2017
1 parent 36c808f commit b891227
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .jshintrc
@@ -1,6 +1,7 @@
{

"maxerr" : 50, // {int} Maximum error before stopping
"esversion" : 6,

// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
Expand Down Expand Up @@ -72,7 +73,7 @@
"worker" : false, // Web Workers
"wsh" : false, // Windows Scripting Host
"yui" : false, // Yahoo User Interface

"ignore": [{"dir":"./node_modules"}],


Expand Down
1 change: 0 additions & 1 deletion lib/main.js
Expand Up @@ -13,7 +13,6 @@ var dotenv = require('dotenv');
var ScheduleEvents = require(path.join(__dirname, 'schedule_events'));

var maxBufferSize = 50 * 1024 * 1024;
aws.config.httpOptions.timeout = 30 * 60 * 1000;

var Lambda = function () {
this.version = packageJson.version;
Expand Down
4 changes: 2 additions & 2 deletions test/main.js
Expand Up @@ -583,8 +583,8 @@ describe('node-lambda', function () {
configFile: 'tmp.env'
}, process.cwd());

assert.equal(process.env["FOO"], 'bar');
assert.equal(process.env["BAZ"], 'bing');
assert.equal(process.env.FOO, 'bar');
assert.equal(process.env.BAZ, 'bing');
});

});
Expand Down

0 comments on commit b891227

Please sign in to comment.