Skip to content

Commit

Permalink
🩹 fix: change conditional in install.js
Browse files Browse the repository at this point in the history
  • Loading branch information
victorsoares96 committed May 25, 2023
1 parent 5058c67 commit ee4596d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const util = require('util');
const exec = util.promisify(childProcess.exec);

(async () => {
if (fs.existsSync(path.resolve(__dirname, '../dist')) || !process.env.SKIP_BINARY_DOWNLOAD) {
if (fs.existsSync(path.resolve(__dirname, '../dist')) && !process.env.SKIP_BINARY_DOWNLOAD) {
const fetchBinaries = require('./fetch-binaries');
const gsPath = path.resolve(__dirname, '../bin/gs');

Expand Down

0 comments on commit ee4596d

Please sign in to comment.