Skip to content

Commit

Permalink
fix: "lines" in compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nom4dv3 committed Nov 6, 2023
1 parent fd7451f commit 67e8232
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -120,7 +120,7 @@ async function compileServer(options: CompileOptions) {
// 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

0 comments on commit 67e8232

Please sign in to comment.