Commit c8d8931c authored by 0mkar's avatar 0mkar

Add tests, research findImportsSync

parent cbdc0cb0
...@@ -28,7 +28,11 @@ ...@@ -28,7 +28,11 @@
] ]
}, },
"dependencies": { "dependencies": {
"async": "^2.6.1",
"axios": "^0.18.0", "axios": "^0.18.0",
"promise": "^8.0.2",
"remix-solidity": "^0.2.14",
"sleep": "^5.2.3",
"solc": "^0.5.0", "solc": "^0.5.0",
"url": "^0.11.0", "url": "^0.11.0",
"valid-url": "^1.0.9" "valid-url": "^1.0.9"
......
...@@ -17,6 +17,8 @@ const handleGithubCall = async function (fullpath, repoPath, path, filename, fil ...@@ -17,6 +17,8 @@ const handleGithubCall = async function (fullpath, repoPath, path, filename, fil
} else { } else {
throw Error('Content not received!') throw Error('Content not received!')
} }
}).catch(function (e) {
throw e
}) })
return data return data
} }
......
This diff is collapsed.
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