Skip to content

Commit

Permalink
Merge pull request #67 from ethereum-alarm-clock/fix/deps
Browse files Browse the repository at this point in the history
dependecies update. remove __dirname usage
  • Loading branch information
kosecki123 authored May 30, 2019
2 parents 411612a + 8e12124 commit 5fbb8dd
Show file tree
Hide file tree
Showing 3 changed files with 8,189 additions and 2,316 deletions.
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const estimateGas = (web3, opts) => new Promise((resolve, reject) => {

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

const getBalance = (web3, address) => new Promise((resolve, reject) => {
Expand Down
Loading

0 comments on commit 5fbb8dd

Please sign in to comment.