From f2f704f9fc6f953473d59dae4391fd7b6fe14b5e Mon Sep 17 00:00:00 2001 From: Joel Sahleen Date: Sun, 16 Aug 2026 13:42:30 -0600 Subject: [PATCH] document: omit error from create-project loader warn Keep the README scaffold in lockstep with current msg-cli ESM output, which no longer passes the caught error to console.warn. Refs #67 Co-authored-by: Cursor --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1640e8b..8b661e6 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ const loader = async (project, title, language) => { const module = await import(path, { with: { type: 'json' } }); return module.default; } catch (error) { - console.warn(`Translations for locale ${language} could not be loaded.`, error); + console.warn(`Translations for locale ${language} could not be loaded.`); return { title, attributes: { lang: language, dir: 'auto' },