Skip to content

Commit de6ff52

Browse files
bmiddhaCopilot
andcommitted
Use RushConstants.pnpmWorkspaceFileName in PublishAction
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 29773cb commit de6ff52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎libraries/rush-lib/src/cli/actions/PublishAction.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ export class PublishAction extends BaseRushAction {
672672
const workspaceFolder: string = path.join(commonTempFolder, 'publish-workspaces', subspace.subspaceName);
673673
await FileSystem.ensureEmptyFolderAsync(workspaceFolder);
674674

675-
const workspaceFilePath: string = path.join(workspaceFolder, 'pnpm-workspace.yaml');
675+
const workspaceFilePath: string = path.join(workspaceFolder, RushConstants.pnpmWorkspaceFileName);
676676
const workspaceFile: PnpmWorkspaceFile = new PnpmWorkspaceFile(workspaceFilePath);
677677
workspaceFile.catalogs = globalCatalogs;
678678
await workspaceFile.saveAsync(workspaceFilePath, { onlyIfChanged: false });

0 commit comments

Comments
 (0)