mirror of
https://github.com/actions/setup-python.git
synced 2026-11-02 21:15:50 +00:00
Initial pass
This commit is contained in:
commit
39c08a0eaa
7242 files changed
+1886006
No files matched your search
+10
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user