Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

minor fixes #1085

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions remix-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "0.0.1",
"description": "Solidity import resolver engine",
"main": "./src/index.js",
"bin": {
"remix-resolve": "./bin/remix-resolve"
},
"scripts": {
"build": "tsc",
"lint": "standard",
Expand Down
2 changes: 1 addition & 1 deletion remix-resolve/src/combineSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const combineSource = async function (rootpath, sources) {
// sources[fileName].content = sources[fileName].content.replace(importLine, 'import' + extra + ' \'' + response.filename + '\';')
const regex = /(\.+\/)/g
subSorce[fn.replace(regex, '')] = { content: response.content }
sources = Object.assign(await combineSource(response.rootpath, subSorce), sources)
sources = Object.assign(await combineSource(response.fileRoot, subSorce), sources)
}
} catch (e) {
throw e
Expand Down