Skip to content

Commit

Permalink
Added a default stdio handler
Browse files Browse the repository at this point in the history
  • Loading branch information
lirannl committed Jun 3, 2021
1 parent 7377d94 commit b5b5dc3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions stdio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export const handler = async (line: string) => {
case "exit":
{
Deno.exit(0);
}
}
}
default:
{
console.log(`Unknown commmand "${cmd}".`);
} break;
}
}

0 comments on commit b5b5dc3

Please sign in to comment.