chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
1 parent
912ebffc63
commit
c379191f80
1480 files changed
+28608
-43547
No files matched your search
+1
-4
@@ -30,10 +30,7 @@ const hasJsonFlag = (argv: string[]) =>
|
||||
const hasVersionFlag = (argv: string[]) =>
|
||||
argv.some((arg) => arg === "--version" || arg === "-V" || arg === "-v");
|
||||
|
||||
export function formatCliBannerLine(
|
||||
version: string,
|
||||
options: BannerOptions = {},
|
||||
): string {
|
||||
export function formatCliBannerLine(version: string, options: BannerOptions = {}): string {
|
||||
const commit = options.commit ?? resolveCommitHash({ env: options.env });
|
||||
const commitLabel = commit ?? "unknown";
|
||||
const tagline = pickTagline(options);
|
||||
|
||||
Reference in new issue
Block a user