mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-30 08:04:09 +00:00
collection runner tag updates
This commit is contained in:
@@ -462,10 +462,6 @@ const handler = async function (argv) {
|
||||
console.error(chalk.red(`Path not found: ${resolvedPath}`));
|
||||
process.exit(constants.EXIT_STATUS.ERROR_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
requestItems = requestItems.filter((item) => {
|
||||
return isRequestTagsIncluded(item.tags, includeTags, excludeTags);
|
||||
});
|
||||
}
|
||||
|
||||
requestItems = getCallStack(resolvedPaths, collection, { recursive });
|
||||
@@ -478,6 +474,10 @@ const handler = async function (argv) {
|
||||
});
|
||||
}
|
||||
|
||||
requestItems = requestItems.filter((item) => {
|
||||
return isRequestTagsIncluded(item.tags, includeTags, excludeTags);
|
||||
});
|
||||
|
||||
const runtime = getJsSandboxRuntime(sandbox);
|
||||
|
||||
const runSingleRequestByPathname = async (relativeItemPathname) => {
|
||||
|
||||
@@ -64,7 +64,7 @@ const bruToJson = (bru) => {
|
||||
name: _.get(json, 'meta.name'),
|
||||
seq: !_.isNaN(sequence) ? Number(sequence) : 1,
|
||||
settings: _.get(json, 'settings', {}),
|
||||
tags: _.get(json, 'tags', []),
|
||||
tags: _.get(json, 'meta.tags', []),
|
||||
request: {
|
||||
method: _.upperCase(_.get(json, 'http.method')),
|
||||
url: _.get(json, 'http.url'),
|
||||
|
||||
Reference in New Issue
Block a user