mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 19:20:08 +08:00
6 lines
130 B
JavaScript
6 lines
130 B
JavaScript
'use strict';
|
|
|
|
module.exports = (str, spaces) => {
|
|
return str.replace(/^\t+/gm, $1 => ' '.repeat($1.length * (spaces || 2)));
|
|
};
|