1
0
mirror of https://github.com/actions/setup-python.git synced 2025-03-01 09:59:05 +07:00

6 lines
180 B
JavaScript
Raw Normal View History

2019-06-26 21:12:00 -04:00
'use strict';
const stripAnsi = require('strip-ansi');
const astralRegex = require('astral-regex');
module.exports = input => stripAnsi(input).replace(astralRegex(), ' ').length;