Skip to content

Commit

Permalink
Merge pull request #73 from nodebots/dependabot/npm_and_yarn/tmp-0.2.1
Browse files Browse the repository at this point in the history
chore(deps): bump tmp from 0.1.0 to 0.2.1
  • Loading branch information
ajfisher authored Oct 24, 2020
2 parents c338968 + caab36d commit 62ab671
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/interchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Interchange.prototype.clean_temp_dir = function(tmpdir) {
// takes a temporary directory and cleans up any files within it and
// then calls the callback to remove itself.
if (tmpdir != undefined && tmpdir !== null && tmpdir !== '') {
fsextra.removeSync(tmpdir.name);
tmpdir.removeCallback();
fsextra.removeSync(tmpdir.name);
}
};

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"inquirer": "^7.0.0",
"lodash": "^4.17.15",
"serialport": "^9.0.0",
"tmp": "^0.1.0"
"tmp": "^0.2.1"
},
"devDependencies": {
"eslint": "^7.12.0",
Expand Down
1 change: 0 additions & 1 deletion test/downloader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ const github_actions = () => describe('4. Github related actions for the downloa
// clean up temp path if it's been set
if (temppath) {
fsextra.removeSync(temppath.name);
temppath.removeCallback();
temppath = null;
}
});
Expand Down

0 comments on commit 62ab671

Please sign in to comment.