Skip to content

Commit

Permalink
imports fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreyes committed Feb 4, 2023
1 parent 198623c commit 8a035cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/startServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ function findImports(fileName) {
if (fs.existsSync(solidityFileDirMappings[justTheFileName])) {
file = fs.readFileSync(solidityFileDirMappings[justTheFileName])
} else {
let nodePackagePath = path.join(node_modulesDirLocation, justTheFileName)
let forgePackagePath = path.join(libDirLocation, justTheFileName)
let nodePackagePath = path.join(node_modulesDirLocation, fileName)
let forgePackagePath = path.join(libDirLocation, fileName)

if (fs.existsSync(nodePackagePath)) {
file = fs.readFileSync(nodePackagePath)
Expand Down

0 comments on commit 8a035cb

Please sign in to comment.