From 4bf6086caa8f509f36f6f22a3bb9988024eb885b Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Wed, 19 Aug 2026 18:14:05 -0300 Subject: [PATCH] fix(OPS71): parse de --body-file no github-pr.mjs --- scripts/github-pr.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/github-pr.mjs b/scripts/github-pr.mjs index fbbb7b0d..fef6d39f 100644 --- a/scripts/github-pr.mjs +++ b/scripts/github-pr.mjs @@ -40,10 +40,10 @@ if (!head || !title) { } let body = flags.body -if (flags.bodyFile) { +if (flags['body-file']) { try { const { readFileSync } = await import('node:fs') - body = readFileSync(flags.bodyFile, 'utf8') + body = readFileSync(flags['body-file'], 'utf8') } catch (error) { console.error(`[github-pr] não consegui ler --body-file: ${error.message}`) process.exit(1)