Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
fix: create local module no work
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Feb 6, 2020
1 parent 9b70328 commit bcceff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit bcceff2

Please sign in to comment.