Skip to content

Commit

Permalink
refactor: ♻️ use commit id for bugsnag version override
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbenw committed Nov 12, 2024
1 parent a68dcc5 commit b2679be
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 b2679be

Please sign in to comment.