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