Commit d19d1d6a authored by yann300's avatar yann300 Committed by Aniket

linting

parent aa6919b7
...@@ -145,7 +145,7 @@ export class CompilerImports extends Plugin { ...@@ -145,7 +145,7 @@ export class CompilerImports extends Plugin {
} else { } else {
const localhostProvider = await this.call('fileManager', 'getProviderByName', 'localhost') const localhostProvider = await this.call('fileManager', 'getProviderByName', 'localhost')
if (localhostProvider.isConnected()) { if (localhostProvider.isConnected()) {
var splitted = /([^/]+)\/(.*)$/g.exec(url) const splitted = /([^/]+)\/(.*)$/g.exec(url)
const possiblePaths = ['localhost/installed_contracts/' + url] const possiblePaths = ['localhost/installed_contracts/' + url]
if (splitted) possiblePaths.push('localhost/installed_contracts/' + splitted[1] + '/contracts/' + splitted[2]) if (splitted) possiblePaths.push('localhost/installed_contracts/' + splitted[1] + '/contracts/' + splitted[2])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment