decouple lib/fixup.rb from bin/crew (#13596)

This commit is contained in:
Max Downey Twiss
2025-11-24 00:18:42 +11:00
committed by GitHub
parent fe894e636c
commit 176311e0ab
2 changed files with 3 additions and 29 deletions

View File

@@ -310,7 +310,7 @@ def update
end
# Do any fixups necessary after crew has updated from git.
load "#{CREW_LIB_PATH}/lib/fixup.rb"
system "#{CREW_LIB_PATH}/lib/fixup.rb"
# Reload device.json in case it was modified by lib/fixup.rb
@device = ConvenienceFunctions.load_symbolized_json