Take the path as-is, not relative to the current dir.
All checks were successful
Tests / sdk_tests (pull_request) Successful in 5m58s

This commit is contained in:
Thomas E Lackey 2023-12-04 21:44:29 -06:00
parent fb381c07f3
commit 1f4635b413

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
}