From 74b3d2181ee7493434670192524347e15599b631 Mon Sep 17 00:00:00 2001 From: BangDori <44726494+BangDori@users.noreply.github.com> Date: Fri, 31 Oct 2025 18:40:05 +0900 Subject: [PATCH] fix: add missing const in report assignment --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac2353e..4340b0a 100644 --- a/README.md +++ b/README.md @@ -2050,7 +2050,7 @@ class ReportReader { // ... const reader = new ReportReader(); -await report = await reader.read('report.xml'); +const report = await reader.read('report.xml'); ``` **Good:** @@ -2094,11 +2094,11 @@ class ReportReader { // ... const reader = new ReportReader(new XmlFormatter()); -await report = await reader.read('report.xml'); +const report = await reader.read('report.xml'); // 또는 json 보고서가 필요한 경우 const reader = new ReportReader(new JsonFormatter()); -await report = await reader.read('report.json'); +const report = await reader.read('report.xml'); ``` **[⬆ 맨 위로 이동](#목차)**