From f135b6b22340770a06f10f9788af9ab022c2b2e1 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Tue, 10 Feb 2026 15:57:07 +0000 Subject: [PATCH] Fix argument parsing bug in create command --- scripts/porkbun-dns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/porkbun-dns.js b/scripts/porkbun-dns.js index 482d9fb..b7d51a0 100755 --- a/scripts/porkbun-dns.js +++ b/scripts/porkbun-dns.js @@ -301,7 +301,7 @@ async function main() { } case 'create': { - const [_, _cmd, domain, ...recordArgs] = args; + const [, domain, ...recordArgs] = args; if (!domain) { console.error('Error: domain required'); console.error('Usage: node porkbun-dns.js create ');