Skip to content

Commit

Permalink
Merge pull request #30 from hyperoracle/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
murongg authored Dec 15, 2023
2 parents ee24370 + cebbf6f commit a65ced9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"bumpp": "^9.2.0",
"consola": "^3.2.3",
"eslint": "^8.51.0",
"esno": "^0.16.3",
"esno": "^4.0.0",
"fast-glob": "^3.3.1",
"fs-extra": "^11.1.1",
"lint-staged": "^13.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/zkgraph-cli/src/commands/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function logCompileResult(wasmPath: string, watPath: string): void {
// Log compiled file size by line count
const compiledFileContent = fs.readFileSync(watPath, 'utf-8')
const compiledFileLineCount = compiledFileContent.split('\n').length
logger.info(`[*]${compiledFileLineCount}${compiledFileLineCount > 1 ? ' lines' : ' line'} in ${watPath}`)
logger.info(`[*] ${compiledFileLineCount}${compiledFileLineCount > 1 ? ' lines' : ' line'} in ${watPath}`)
// Log status
logger.info(`[+] Output written to \`${path.dirname(wasmPath)}\` folder.`)
logger.info('[+] COMPILATION SUCCESS!' + '\n')
Expand Down
32 changes: 8 additions & 24 deletions pnpm-lock.yaml

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

0 comments on commit a65ced9

Please sign in to comment.