chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -9,9 +9,7 @@ function isLikelyPath(value: string): boolean {
|
||||
return /^[A-Za-z]:[\\/]/.test(value);
|
||||
}
|
||||
|
||||
export function isSafeExecutableValue(
|
||||
value: string | null | undefined,
|
||||
): boolean {
|
||||
export function isSafeExecutableValue(value: string | null | undefined): boolean {
|
||||
if (!value) return false;
|
||||
const trimmed = value.trim();
|
||||
if (!trimmed) return false;
|
||||
|
||||
Reference in New Issue
Block a user