We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b6204 commit cf71a0aCopy full SHA for cf71a0a
src/client/common/utils/misc.ts
@@ -53,7 +53,7 @@ export function isResource(resource?: InterpreterUri): resource is Resource {
53
// tslint:disable-next-line: no-any
54
export function isUri(resource?: Uri | any): resource is Uri {
55
if (!resource) {
56
- return true;
+ return false;
57
}
58
const uri = resource as Uri;
59
return typeof uri.path === 'string' && typeof uri.scheme === 'string';
0 commit comments