diff --git a/client/src/extension.ts b/client/src/extension.ts index fa14d99..f2bbbc1 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -625,7 +625,7 @@ Executable ${this.denoInfo.executablePath}`; return; } - if (text.indexOf(".") !== 0 || text.indexOf("/") !== 0) { + if (text.indexOf(".") !== 0 && text.indexOf("/") !== 0) { this.output.appendLine( `Cannot create module \`${text }\`. Module is not relative or absolute`