Take the path as-is, not relative to the current dir.
All checks were successful
Tests / sdk_tests (pull_request) Successful in 5m58s
All checks were successful
Tests / sdk_tests (pull_request) Successful in 5m58s
This commit is contained in:
parent
fb381c07f3
commit
1f4635b413
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user