Skip to content

Commit

Permalink
refactor: ♻️ use commitId for bugsnag version override (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbenw authored Nov 12, 2024
1 parent d1b2c81 commit 9f9a797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/fixtures/test-app/set-bugsnag-js-overrides
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ version = Dir.mktmpdir("bugsnag-js") do |directory|
}

Tempfile.create(["get-bugsnag-js-version", ".js"], directory) do |file|
file.write("console.log(require('./scripts/common').determineVersion())")
file.write("console.log(require('./scripts/common').getCommitId())")
file.close # close the file to flush our changes to disk

output, status = Open3.capture2(env, "node #{file.path}", unsetenv_others: true)
Expand Down

0 comments on commit 9f9a797

Please sign in to comment.