Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
more checks for needls
Browse files Browse the repository at this point in the history
  • Loading branch information
danwos committed Feb 23, 2022
1 parent a05c8da commit 445abef
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions vscode_ext/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@ async function checkForNeedls(pythonPath: string, outChannel: OutputChannel, ext
outChannel.appendLine(e);
return false
}


try {
await exec_py(
pythonPath,
outChannel,
'-c',
'"import needls.server"'
);
} catch (e) {
console.warn(e)
outChannel.appendLine(e);
return false
}

return true;
}

Expand Down

0 comments on commit 445abef

Please sign in to comment.