Skip to content

Commit 0322fdd

Browse files
committed
style: fix formatting in package-manager.ts
Split long conditional statement across multiple lines per biome formatting rules.
1 parent f159090 commit 0322fdd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/env/package-manager.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ export function detectPackageManager(): PackageManagerType {
6565
return 'bun'
6666
}
6767
// If in node_modules but no other match, assume npm.
68-
if (argv0.includes('/node_modules/') || argv0.includes('\\node_modules\\')) {
68+
if (
69+
argv0.includes('/node_modules/') ||
70+
argv0.includes('\\node_modules\\')
71+
) {
6972
return 'npm'
7073
}
7174
}

0 commit comments

Comments
 (0)