Skip to content

Commit 51786ac

Browse files
author
v1rtl
committed
add a console.log
1 parent 72b4c01 commit 51786ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mod.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ globalThis.process = process
2121

2222
const soljsonPath = `file://${Deno.cwd()}/.cache/soljson.js'`
2323

24-
if (!(await exists(soljsonPath))) await download()
24+
if (!(await exists(soljsonPath))) {
25+
console.log(`Downloading soljson to ${soljsonPath}`)
26+
27+
await download()
28+
}
2529

2630
export const solc = setupMethods(require(soljsonPath))

0 commit comments

Comments
 (0)