Skip to content

Commit

Permalink
Fixed printed output of CLI command for evaluating expressions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeshecdom committed Jan 9, 2025
1 parent b8ec36f commit 9fc2e49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tact.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void meowModule.then(
switch (result.kind) {
case "ok":
{
console.log(result.value);
console.log(main.showValue(result.value));
process.exit(0);
}
break;
Expand Down
2 changes: 2 additions & 0 deletions src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,5 @@ export async function run(args: {
export { createNodeFileSystem } from "./vfs/createNodeFileSystem";

export { parseAndEvalExpression } from "./interpreter";

export { showValue } from "./types/types";

0 comments on commit 9fc2e49

Please sign in to comment.