Skip to content

Commit

Permalink
fix: use correct ordering for version priority
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Jul 5, 2024
1 parent 4e493db commit 088d063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/ioc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { generateBaseURL } from "./utils.js";
let version: string = 'unknown';

export const parseVersion = async () => {
version = await getVersion({priority: ['file', 'git', 'env']});
version = await getVersion({priority: ['env', 'git', 'file']});
}

let root: ReturnType<typeof createRoot>;
Expand Down

0 comments on commit 088d063

Please sign in to comment.