mirror of
https://github.com/actions/setup-node.git
synced 2025-07-26 00:18:25 +02:00
Use husky
This commit is contained in:
parent
d7b6952411
commit
c3f0a8be66
6685 changed files with 919804 additions and 0 deletions
10
node_modules/trim-right/index.js
generated
vendored
Normal file
10
node_modules/trim-right/index.js
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
module.exports = function (str) {
|
||||
var tail = str.length;
|
||||
|
||||
while (/[\s\uFEFF\u00A0]/.test(str[tail - 1])) {
|
||||
tail--;
|
||||
}
|
||||
|
||||
return str.slice(0, tail);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue