Comparing version 0.2.2 to 0.2.3
@@ -27,2 +27,8 @@ #! /usr/bin/env node | ||
const pathArg = process.argv[2]; | ||
if (pathArg == null) { | ||
console.error(`Usage: peach path/to/script.peach`); | ||
process.exit(1); | ||
} | ||
const scriptPath = path.resolve(process.argv[2]); | ||
@@ -29,0 +35,0 @@ const status = run(scriptPath); |
{ | ||
"name": "peach-lang", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A tiny functional language", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
13138
255