Take the path as-is, not relative to the current dir. (#43)
All checks were successful
Tests / sdk_tests (push) Successful in 4m12s

Reviewed-on: #43
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
This commit is contained in:
Thomas E Lackey 2023-12-05 03:53:15 +00:00 committed by Thomas E Lackey
parent fb381c07f3
commit f5625d0c87

View File

@ -30,7 +30,7 @@ export const handler = async (argv: Arguments) => {
let file = null;
if (filename) {
file = path.join(process.cwd(), filename as string);
file = filename as string;
} else {
file = 0; // stdin
}