Skip to content

Commit

Permalink
Improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv committed Aug 17, 2023
1 parent cefb0f6 commit d0a59fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function run(): Promise<void> {
core.info('\nAction input parameters:')
core.info(`mina-graphql-port: ${minaDaemonGraphQlPort}`)
core.info(`max-attempts: ${maxAttempts}`)
core.info(`polling-interval-ms: ${pollingIntervalMs}\n`)
core.info(`polling-interval-ms: ${pollingIntervalMs}`)

core.info('\nWaiting for the Mina Daemon GraphQL port to be available...')

Expand Down Expand Up @@ -87,8 +87,8 @@ export async function run(): Promise<void> {
core.info('\nNetwork is ready to use.')
}

const runTime = (performance.now() - startTime) / 1000
core.info(`\nDone. Runtime: ${runTime} seconds.\n`)
const runTime = Math.round((performance.now() - startTime) / 1000).toFixed(2)
core.info(`Done. Runtime: ${runTime} seconds.\n`)
}

if (!process.env.JEST_WORKER_ID) {
Expand Down

0 comments on commit d0a59fb

Please sign in to comment.