mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-24 06:44:44 +00:00
.
This commit is contained in:
parent
fc725ba36b
commit
422b9fdb15
7395 changed files with 1786235 additions and 3476 deletions
17
node_modules/lodash/_getWrapDetails.js
generated
vendored
Normal file
17
node_modules/lodash/_getWrapDetails.js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/** 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