From b2679be3b4ce80701b59c7cccaeb18f12b145c33 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Tue, 12 Nov 2024 11:44:16 +0000 Subject: [PATCH] refactor: :recycle: use commit id for bugsnag version override --- 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)