Skip to content

Commit

Permalink
add logging which MS Edge path was used to detect version
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed May 15, 2024
1 parent dcf16e9 commit d30b719
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ async function getEdgeVersionWin (edgePath: string) {
}

async function getEdgeVersionUnix (edgePath: string) {
log.info(`Trying to detect Microsoft Edge version from binary found at ${edgePath}`)
const versionOutput = await new Promise<string>((resolve, reject) => cp.exec(`"${edgePath}" --version`, (err, stdout, stderr) => {
if (err) {
return reject(err)
Expand Down

0 comments on commit d30b719

Please sign in to comment.