Skip to content

Commit

Permalink
Merge pull request #200 from bugsnag/v49/commit-id-version-override
Browse files Browse the repository at this point in the history
[v49] Use commit id for BugSnag version override
  • Loading branch information
gingerbenw authored Nov 12, 2024
2 parents a042968 + 736a93d commit 6af2712
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 6af2712

Please sign in to comment.