Skip to content

Commit

Permalink
Move consts to the top.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Jan 6, 2025
1 parent 91102cd commit 360265c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import * as assert from 'node:assert';

import { runVm, InputKind, disassemble } from "../build/release.js";

const OK = '🟢';
const ERR = '🔴';

// Run the CLI application
main();

Expand Down Expand Up @@ -108,9 +111,6 @@ function read(data, field) {
throw new Error(`Required field ${field} missing in ${JSON.stringify(data, null, 2)}`);
}

const OK = '🟢';
const ERR = '🔴';

function processJson(data, debug = false) {
if (debug) {
console.debug(`🤖 Running ${data.name}`);
Expand Down

0 comments on commit 360265c

Please sign in to comment.