Skip to content

Commit

Permalink
Ensure url is consistent for circom dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper authored and Aniket-Engg committed Nov 3, 2023
1 parent 3639634 commit 6c563c3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ export class CircomPluginClient extends PluginClient {
if (depPath) {
// if depPath is provided, try to resolve include import from './deps' folder in remix
path = pathModule.resolve(depPath.slice(0, depPath.lastIndexOf('/')), include)
path = path.replace('https:/', 'https://')
if (path.indexOf('/') === 0) path = path.slice(1)
dependencyContent = await this.call('contentImport', 'resolveAndSave', path, null)
} else {
Expand Down

0 comments on commit 6c563c3

Please sign in to comment.