mirror of
https://github.com/github/codeql-action.git
synced 2026-10-29 09:07:12 +00:00
8 lines
125 B
JavaScript
8 lines
125 B
JavaScript
'use strict';
|
|
|
|
var regex = /^(?:\r|\n)+|(?:\r|\n)+$/g;
|
|
|
|
module.exports = function (str) {
|
|
return str.replace(regex, '');
|
|
};
|