mirror of
https://github.com/actions/labeler.git
synced 2025-12-19 00:26:47 +00:00
build
This commit is contained in:
6
node_modules/jest-each/build/table/template.js
generated
vendored
6
node_modules/jest-each/build/table/template.js
generated
vendored
@@ -3,6 +3,7 @@
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.getPath = getPath;
|
||||
exports.default = void 0;
|
||||
|
||||
function _prettyFormat() {
|
||||
@@ -92,9 +93,10 @@ const replaceKeyPathWithValue = template => (title, match) => {
|
||||
})
|
||||
);
|
||||
};
|
||||
/* eslint import/export: 0*/
|
||||
|
||||
const getPath = (template, [head, ...tail]) => {
|
||||
function getPath(template, [head, ...tail]) {
|
||||
if (!head || !template.hasOwnProperty || !template.hasOwnProperty(head))
|
||||
return template;
|
||||
return getPath(template[head], tail);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user