From 71f8afab9ae162c4aace18332ef2088884580a4f Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 1 May 2024 11:12:42 +0100 Subject: [PATCH] chore: Adjust comment for eslint This was confusing its fallthrough detection: /puter/packages/phoenix/src/puter-shell/coreutils/date.js 132:21 error Expected a 'break' statement before 'case' no-fallthrough --- packages/phoenix/src/puter-shell/coreutils/date.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/phoenix/src/puter-shell/coreutils/date.js b/packages/phoenix/src/puter-shell/coreutils/date.js index f694544f1..fd3bcc685 100644 --- a/packages/phoenix/src/puter-shell/coreutils/date.js +++ b/packages/phoenix/src/puter-shell/coreutils/date.js @@ -126,9 +126,9 @@ export default { break; } - // "Locale's abbreviated month name." + // b: "Locale's abbreviated month name." + // h: "A synonym for %b." case 'b': - // "A synonym for %b." case 'h': { output += date.toLocaleDateString(locale, { timeZone: timeZone, month: 'short' }); break;