Skip to content

Commit 5fbb8dd

Browse files
authored
Merge pull request #67 from ethereum-alarm-clock/fix/deps
dependecies update. remove __dirname usage
2 parents 411612a + 8e12124 commit 5fbb8dd

File tree

3 files changed

+8189
-2316
lines changed

3 files changed

+8189
-2316
lines changed

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const estimateGas = (web3, opts) => new Promise((resolve, reject) => {
9696

9797
// / Requires a case sensitive name of the contract and will return the ABI if found.
9898
const getABI = (name) => {
99-
return require(`${__dirname}/build/abi/${name}.json`)
99+
return require(`./build/abi/${name}.json`)
100100
}
101101

102102
const getBalance = (web3, address) => new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)