mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-23 22:34:45 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
17
node_modules/lodash/_getWrapDetails.js
generated
vendored
17
node_modules/lodash/_getWrapDetails.js
generated
vendored
|
@ -1,17 +0,0 @@
|
|||
/** Used to match wrap detail comments. */
|
||||
var reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
|
||||
reSplitDetails = /,? & /;
|
||||
|
||||
/**
|
||||
* Extracts wrapper details from the `source` body comment.
|
||||
*
|
||||
* @private
|
||||
* @param {string} source The source to inspect.
|
||||
* @returns {Array} Returns the wrapper details.
|
||||
*/
|
||||
function getWrapDetails(source) {
|
||||
var match = source.match(reWrapDetails);
|
||||
return match ? match[1].split(reSplitDetails) : [];
|
||||
}
|
||||
|
||||
module.exports = getWrapDetails;
|
Loading…
Add table
Add a link
Reference in a new issue