feat: enable oxlint suspicious category, fix 24 violations (#22727)
This commit is contained in:
parent
665a843086
commit
702f741267
20 changed files with 49 additions and 22 deletions
|
|
@ -64,7 +64,7 @@ function findBinary() {
|
|||
|
||||
return { binaryPath, binaryName }
|
||||
} catch (error) {
|
||||
throw new Error(`Could not find package ${packageName}: ${error.message}`)
|
||||
throw new Error(`Could not find package ${packageName}: ${error.message}`, { cause: error })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue