Skip to content

Commit 8f14e29

Browse files
committed
use var instead of recomputing uri
1 parent 328b24b commit 8f14e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/pythonInstallation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace PythonInstallation {
2525

2626
// Consider third party file system providers
2727
const pythonRepositoryUri = Uri.parse(pythonRepository);
28-
if (!isGithubUri(Uri.parse(pythonRepository))) {
28+
if (!isGithubUri(pythonRepositoryUri)) {
2929
const binaryLocation = Uri.joinPath(pythonRepositoryUri, 'python.wasm');
3030
try {
3131
// fs.stat throws if file doesn't exist

0 commit comments

Comments
 (0)