From c0c4adb5db2cea19c9005b2ea688f72629833b91 Mon Sep 17 00:00:00 2001 From: Kevin Yang <61671317+kevin-y-ang@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:13:08 -0800 Subject: [PATCH] [rush-lib] Normalize plugin autoinstaller file line endings Made-with: Cursor --- ...b-autoinstaller-loader_2026-03-02-22-12.json | 11 +++++++++++ .../PluginLoader/AutoinstallerPluginLoader.ts | 17 +++++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 common/changes/@microsoft/rush/fix-rush-lib-autoinstaller-loader_2026-03-02-22-12.json diff --git a/common/changes/@microsoft/rush/fix-rush-lib-autoinstaller-loader_2026-03-02-22-12.json b/common/changes/@microsoft/rush/fix-rush-lib-autoinstaller-loader_2026-03-02-22-12.json new file mode 100644 index 00000000000..bb483300b5c --- /dev/null +++ b/common/changes/@microsoft/rush/fix-rush-lib-autoinstaller-loader_2026-03-02-22-12.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "Fix autoinstaller plugin loader behavior.", + "type": "none", + "packageName": "@microsoft/rush" + } + ], + "packageName": "@microsoft/rush", + "email": "61671317+kevin-y-ang@users.noreply.github.com" +} \ No newline at end of file diff --git a/libraries/rush-lib/src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts b/libraries/rush-lib/src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts index ad19acb0386..d2587736d94 100644 --- a/libraries/rush-lib/src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts +++ b/libraries/rush-lib/src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts @@ -6,6 +6,7 @@ import * as path from 'node:path'; import { FileSystem, JsonFile, + NewlineKind, PosixModeBits, type JsonObject, type JsonSchema @@ -68,9 +69,11 @@ export class AutoinstallerPluginLoader extends PluginLoaderBase