File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ Lambda.prototype._eventSourceList = function (program) {
186186Lambda . prototype . _zipfileTmpPath = function ( program ) {
187187 var ms_since_epoch = + new Date ( ) ;
188188 var filename = program . functionName + '-' + ms_since_epoch + '.zip' ;
189- var zipfile = path . join ( os . tmpDir ( ) , filename ) ;
189+ var zipfile = path . join ( os . tmpdir ( ) , filename ) ;
190190
191191 return zipfile ;
192192} ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ describe('node-lambda', function () {
5858
5959 after ( function ( ) {
6060 _timeout ( { this : this , sec : 30 } ) ; // give it time to remove
61- fs . removeSync ( path . join ( os . tmpDir ( ) , `${ program . functionName } -[0-9]*` ) ) ;
61+ fs . removeSync ( path . join ( os . tmpdir ( ) , `${ program . functionName } -[0-9]*` ) ) ;
6262 } ) ;
6363
6464 it ( 'version should be set' , function ( ) {
@@ -494,7 +494,7 @@ describe('node-lambda', function () {
494494 } ) ;
495495
496496 describe ( '_readArchive' , function ( ) {
497- const testZipFile = path . join ( os . tmpDir ( ) , 'node-lambda-test.zip' ) ;
497+ const testZipFile = path . join ( os . tmpdir ( ) , 'node-lambda-test.zip' ) ;
498498 var bufferExpected = null ;
499499 before ( function ( done ) {
500500 _timeout ( { this : this , sec : 30 } ) ; // give it time to zip
You can’t perform that action at this time.
0 commit comments