mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 20:57:44 +00:00
feat: create update notifier for cli (#1090)
This commit is contained in:
@@ -470,3 +470,8 @@ export function checkIfRulesetExist(rules: typeof StyleguideConfig.prototype.rul
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export function cleanColors(input: string): string {
|
||||
// eslint-disable-next-line no-control-regex
|
||||
return input.replace(/\x1b\[\d+m/g, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user