GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: keep Emeriti lists case-insensitive alphabetic · nodejs/node@62c233c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • find-inactive-collaborators.mjs
    • find-inactive-tsc.mjs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/find-inactive-collaborators.mjs‎

Copy file name to clipboardExpand all lines: tools/find-inactive-collaborators.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async function moveCollaboratorToEmeritus(peopleToMove) {
163163
const currentLine = `${collaboratorFirstLine}\n${line}\n`;
164164
// If textToMove is empty, this still works because when undefined is
165165
// used in a comparison with <, the result is always false.
166-
while (textToMove[0] < currentLine) {
166+
while (textToMove[0]?.toLowerCase() < currentLine.toLowerCase()) {
167167
fileContents += textToMove.shift();
168168
}
169169
fileContents += currentLine;
Collapse file

‎tools/find-inactive-tsc.mjs‎

Copy file name to clipboardExpand all lines: tools/find-inactive-tsc.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ async function moveTscToEmeritus(peopleToMove) {
198198
const currentLine = `${memberFirstLine}\n${line}\n`;
199199
// If textToMove is empty, this still works because when undefined is
200200
// used in a comparison with <, the result is always false.
201-
while (textToMove[0] < currentLine) {
201+
while (textToMove[0]?.toLowerCase() < currentLine.toLowerCase()) {
202202
fileContents += textToMove.shift();
203203
}
204204
fileContents += currentLine;

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.