diff --git a/src/cmds/cns-cmds/record-cmds/publish.ts b/src/cmds/cns-cmds/record-cmds/publish.ts index f8c1b91..18f5a50 100644 --- a/src/cmds/cns-cmds/record-cmds/publish.ts +++ b/src/cmds/cns-cmds/record-cmds/publish.ts @@ -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 }