mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 18:36:46 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
17
node_modules/left-pad/perf/O(n).js
generated
vendored
Normal file
17
node_modules/left-pad/perf/O(n).js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
'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