Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Dec 10, 2023
1 parent 05783f7 commit f96a204
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions find-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import path from 'node:path';
import process from 'node:process';

const isZip = filepath => path.extname(filepath) === '.zip';

// Node hates race conditons and ease of use
// https://github.com/nodejs/node/issues/39960#issuecomment-909444667
async function exists(f) {
try {
await fs.stat(f);
Expand Down

0 comments on commit f96a204

Please sign in to comment.