Skip to content

Commit

Permalink
fix: exclude try.ts from biome
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Aug 10, 2024
1 parent fa21aa4 commit 599d6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cfg/biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": ["**/__exclude", "*.compact.json"]
"ignore": ["**/__exclude", "**/try.ts", "*.compact.json"]
},
"formatter": {
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion src/lint.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export function runBiome(verbose = false, fix = true): void {

function canRunBinary(name: string): boolean {
try {
execSync(`which ${name}`)
cp.execSync(`which ${name}`)
return true
} catch {
return false
Expand Down

0 comments on commit 599d6aa

Please sign in to comment.