fix: update isUri() to compare fsPath as string

This commit is contained in:
Mike Kwon
2021-01-25 19:50:06 -05:00
parent 88af66bcee
commit a46fd0ee93
+1 -1
View File
@@ -108,7 +108,7 @@ export class URI implements UriComponents {
&& typeof (<URI>thing).path === 'string'
&& typeof (<URI>thing).query === 'string'
&& typeof (<URI>thing).scheme === 'string'
&& typeof (<URI>thing).fsPath === 'function'
&& typeof (<URI>thing).fsPath === 'string'
&& typeof (<URI>thing).with === 'function'
&& typeof (<URI>thing).toString === 'function';
}