mirror of
https://github.com/actions/setup-python.git
synced 2025-07-19 08:08:20 +02:00
Fix.
This commit is contained in:
parent
7fe1ba03a3
commit
ec0a863019
7020 changed files with 1880198 additions and 489 deletions
18
node_modules/lodash/_stringSize.js
generated
vendored
Normal file
18
node_modules/lodash/_stringSize.js
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
var asciiSize = require('./_asciiSize'),
|
||||
hasUnicode = require('./_hasUnicode'),
|
||||
unicodeSize = require('./_unicodeSize');
|
||||
|
||||
/**
|
||||
* Gets the number of symbols in `string`.
|
||||
*
|
||||
* @private
|
||||
* @param {string} string The string to inspect.
|
||||
* @returns {number} Returns the string size.
|
||||
*/
|
||||
function stringSize(string) {
|
||||
return hasUnicode(string)
|
||||
? unicodeSize(string)
|
||||
: asciiSize(string);
|
||||
}
|
||||
|
||||
module.exports = stringSize;
|
Loading…
Add table
Add a link
Reference in a new issue