Skip to content

Commit

Permalink
Merge pull request #170 from pelias/fix-deprecation-errors
Browse files Browse the repository at this point in the history
fix(fs): Avoid deprecation errors
  • Loading branch information
orangejulius authored May 14, 2019
2 parents 2e92075 + 274d939 commit 005b391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/apiKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tape( 'api_key not found in config', function ( test ){
delete process.env.PELIAS_CONFIG;

// delete temp file
fs.unlink( '/tmp/pelias_temp.json' );
fs.unlinkSync( '/tmp/pelias_temp.json' );

test.end();
});
Expand All @@ -41,7 +41,7 @@ tape( 'stage api_key imported from pelias config', function ( test ){
delete process.env.PELIAS_CONFIG;

// delete temp file
fs.unlink( '/tmp/pelias_temp2.json' );
fs.unlinkSync( '/tmp/pelias_temp2.json' );

test.end();
});
Expand All @@ -63,7 +63,7 @@ tape( 'avoid matching partial urls', function ( test ){
delete process.env.PELIAS_CONFIG;

// delete temp file
fs.unlink( '/tmp/pelias_temp3.json' );
fs.unlinkSync( '/tmp/pelias_temp3.json' );

test.end();
});

0 comments on commit 005b391

Please sign in to comment.