Browse Source

Merge pull request #1846 from boneskull/fix-unlink

Fix unlinkSync call in runtests.js
pull/1855/head
Sami Vaarala 7 years ago
committed by GitHub
parent
commit
2a95a91d75
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      AUTHORS.rst
  2. 2
      runtests/runtests.js

1
AUTHORS.rst

@ -49,6 +49,7 @@ and agreed to irrevocably license their contributions under the Duktape
* Jakub Nowakowski (https://github.com/jimvonmoon)
* Tommy Nguyen (https://github.com/tn0502)
* Fabrice Fontaine (https://github.com/ffontaine)
* Christopher Hiller (https://github.com/boneskull)
Other contributions
===================

2
runtests/runtests.js

@ -44,7 +44,7 @@ function mkTempName(ext) {
function safeUnlinkSync(filePath) {
try {
if (filePath) {
fs.unlink(filePath);
fs.unlinkSync(filePath);
}
} catch (e) {
console.log('Failed to unlink ' + filePath + ' (ignoring): ' + e);

Loading…
Cancel
Save