Add tests, research findImportsSync

pull/7/head
0mkar 6 years ago
parent 1446ea9e2b
commit e5eff4308a
  1. 4
      remix-resolve/package.json
  2. 2
      remix-resolve/src/resolve.js
  3. 62
      remix-resolve/tests/test.js

@ -28,7 +28,11 @@
]
},
"dependencies": {
"async": "^2.6.1",
"axios": "^0.18.0",
"promise": "^8.0.2",
"remix-solidity": "^0.2.14",
"sleep": "^5.2.3",
"solc": "^0.5.0",
"url": "^0.11.0",
"valid-url": "^1.0.9"

@ -17,6 +17,8 @@ const handleGithubCall = async function (fullpath, repoPath, path, filename, fil
} else {
throw Error('Content not received!')
}
}).catch(function (e) {
throw e
})
return data
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save