From 736a93d12ec7978c839ab703c12fed31a44a9ce5 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Tue, 12 Nov 2024 11:44:55 +0000 Subject: [PATCH] refactor: :recycle: use commit id when overriding bugsnag version --- features/fixtures/test-app/set-bugsnag-js-overrides | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/fixtures/test-app/set-bugsnag-js-overrides b/features/fixtures/test-app/set-bugsnag-js-overrides index 13d8c03b..d9692278 100755 --- a/features/fixtures/test-app/set-bugsnag-js-overrides +++ b/features/fixtures/test-app/set-bugsnag-js-overrides @@ -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)