Take the path as-is, not relative to the current dir. (#43)
All checks were successful
Tests / sdk_tests (push) Successful in 4m12s
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:
parent
fb381c07f3
commit
f5625d0c87
@ -30,7 +30,7 @@ export const handler = async (argv: Arguments) => {
|
|||||||
|
|
||||||
let file = null;
|
let file = null;
|
||||||
if (filename) {
|
if (filename) {
|
||||||
file = path.join(process.cwd(), filename as string);
|
file = filename as string;
|
||||||
} else {
|
} else {
|
||||||
file = 0; // stdin
|
file = 0; // stdin
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user