Browse Source

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
Sam Atkins 1 year ago
parent
commit
71f8afab9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/phoenix/src/puter-shell/coreutils/date.js

+ 2 - 2
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;