Skip to content

Commit

Permalink
Reset dkg cli resource path
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Jul 7, 2023
1 parent 665f07a commit 13461d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/oracle/scripts/dev.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { fetchRetry, run } from '@casimir/helpers'
import path from 'path'

const resourcePath = 'scripts/resources/rockx-dkg-cli'

Expand All @@ -18,7 +17,7 @@ void async function () {
process.env.USE_HARDCODED_OPERATORS = 'true'

/** Build and check if the CLI is available */
await run(`make -C ${path.resolve(resourcePath)} build`)
await run(`make -C ${resourcePath} build`)
const cli = await run(`which ${process.env.CLI_PATH}`)
if (!cli) throw new Error('DKG CLI not found')

Expand Down

0 comments on commit 13461d8

Please sign in to comment.