4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-07 13:06:56 +00:00
setup-helm/node_modules/strip-ansi/index.js
2022-06-27 14:17:15 -04:00

4 lines
154 B
JavaScript

'use strict';
const ansiRegex = require('ansi-regex');
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;