mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
refactor: .bun-version instead .bunrc
This commit is contained in:
parent
2953918876
commit
b43e4d10ce
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const FILE_VERSION_READERS = {
|
|||
".tool-versions": (content: string) =>
|
||||
content.match(/^bun\s?(?<version>.*?)$/m)?.groups?.version,
|
||||
".bumrc": (content: string) => content, // https://github.com/owenizedd/bum
|
||||
".bunrc": (content: string) => content,
|
||||
".bun-version": (content: string) => content,
|
||||
};
|
||||
|
||||
export function readVersionFromFile(file: string): string | undefined {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue