Skip to content

Commit

Permalink
Merge 254c4fd into 70fb8b9
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jun 28, 2021
2 parents 70fb8b9 + 254c4fd commit d6b4644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/isStandaloneExecutable.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict';

module.exports = Boolean(process.pkg && __dirname.startsWith('/snapshot/'));
module.exports = Boolean(process.pkg && /^(?:\/snapshot\/|[A-Z]+:\\snapshot\\)/.test(__dirname));

0 comments on commit d6b4644

Please sign in to comment.