4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-09 05:56:55 +00:00
setup-helm/node_modules/strip-ansi/index.js
2022-01-26 21:54:27 +00:00

4 lines
154 B
JavaScript

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