From 2e715564ef4d85477d2c04b0f5e3f27b53926d6c Mon Sep 17 00:00:00 2001 From: Jakob Kjaer Date: Thu, 16 Nov 2023 10:43:08 +1000 Subject: [PATCH] read from pull request --- src/create_template.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/create_template.js b/src/create_template.js index 26efca2..98221f8 100644 --- a/src/create_template.js +++ b/src/create_template.js @@ -10,8 +10,8 @@ import {parse, toMd} from 'md-2-json' } */ async function main() { - // const body = process.env.Body - const body = await readFile('./test/PR.txt', 'utf-8') + const body = process.env.Body + // const body = await readFile('./test/PR.txt', 'utf-8') const jsonBody = parse(body) // console.log(jsonBody)