Skip to content

Commit

Permalink
gh workflow iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
samifouad committed Aug 6, 2024
1 parent db52e10 commit 3955d8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions npm/gild/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ try {
npmRoot = path.dirname(require.main.filename);
}

console.log(`npmRoot: ${npmRoot}`);

const binaryName = os.platform() === 'win32' ? 'gild.exe' : 'gild';

switch (os.platform()) {
Expand All @@ -38,6 +40,8 @@ try {
process.exit(1);
}

console.log(`Binary Path: ${binaryPath}`);

// Check if the binary exists before trying to execute it
if (!fs.existsSync(binaryPath)) {
console.error(`Binary not found: ${binaryPath}`);
Expand Down

0 comments on commit 3955d8d

Please sign in to comment.