diff --git a/common/changes/rush-dep-graph-plugin/main_2024-12-17-02-19.json b/common/changes/rush-dep-graph-plugin/main_2024-12-17-02-19.json new file mode 100644 index 0000000..4dba1c4 --- /dev/null +++ b/common/changes/rush-dep-graph-plugin/main_2024-12-17-02-19.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "rush-dep-graph-plugin", + "comment": "Try to fix the CI issue", + "type": "none" + } + ], + "packageName": "rush-dep-graph-plugin" +} \ No newline at end of file diff --git a/rush-plugins/rush-dep-graph-plugin/src/main.ts b/rush-plugins/rush-dep-graph-plugin/src/main.ts index bcf1fba..96ac758 100644 --- a/rush-plugins/rush-dep-graph-plugin/src/main.ts +++ b/rush-plugins/rush-dep-graph-plugin/src/main.ts @@ -1,7 +1,6 @@ -import { Terminal, ConsoleTerminalProvider } from '@rushstack/terminal'; +import { Terminal, ConsoleTerminalProvider, Colorize } from '@rushstack/terminal'; import archy from 'archy'; import { RushConfiguration, RushConfigurationProject } from '@rushstack/rush-sdk'; -import chalk from 'chalk'; export const enum Selector { To = 'to', @@ -46,7 +45,7 @@ export class ListGraph { } if (this._visited.has(projectName)) { - data.label = data.label + chalk.yellow(' (circular)'); + data.label = data.label + Colorize.yellow(' (circular)'); return; }