Take the path as-is, not relative to the current dir. #43

Merged
telackey merged 1 commits from telackey/path into main 2023-12-05 03:53:16 +00:00

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
}