mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-22 22:04:45 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
17
node_modules/left-pad/perf/O(n).js
generated
vendored
17
node_modules/left-pad/perf/O(n).js
generated
vendored
|
@ -1,17 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = function (str, len, ch) {
|
||||
str = str + '';
|
||||
|
||||
len = len - str.length;
|
||||
if (len <= 0) return str;
|
||||
|
||||
if (!ch && ch !== 0) ch = ' ';
|
||||
ch = ch + '';
|
||||
|
||||
while (len--) {
|
||||
str = ch + str;
|
||||
}
|
||||
|
||||
return str;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue