Skip to content

Commit

Permalink
makes path_is_sdk less redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
furudean committed Aug 27, 2024
1 parent 18f55b0 commit d37c60f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ export async function path_exists(path: string): Promise<boolean> {
}

export async function path_is_sdk(absolute_path: string): Promise<boolean> {
const exists = await path_exists(absolute_path)
if (!exists) return false

const executable = await get_executable(absolute_path)
if (executable === undefined) return false

Expand Down

0 comments on commit d37c60f

Please sign in to comment.