@artilleryio/int-core 2.6.0-0e34b80 → 2.6.0-2344d60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/runner.js +1 -5
  2. package/package.json +2 -2
package/lib/runner.js CHANGED
@@ -337,11 +337,7 @@ function runScenario(script, metrics, runState, contextVars, options) {
337
337
  if (options.scenarioName) {
338
338
  let foundIndex;
339
339
  const foundScenario = script.scenarios.filter((scenario, index) => {
340
- const hasScenarioByRegex = new RegExp(options.scenarioName).test(
341
- scenario.name
342
- );
343
- const hasScenarioByName = scenario.name === options.scenarioName;
344
- const hasScenario = hasScenarioByName || hasScenarioByRegex;
340
+ const hasScenario = new RegExp(options.scenarioName).test(scenario.name);
345
341
 
346
342
  if (hasScenario) {
347
343
  foundIndex = index;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@artilleryio/int-core",
3
- "version": "2.6.0-0e34b80",
3
+ "version": "2.6.0-2344d60",
4
4
  "main": "./index.js",
5
5
  "license": "MPL-2.0",
6
6
  "dependencies": {
7
- "@artilleryio/int-commons": "2.2.0-0e34b80",
7
+ "@artilleryio/int-commons": "2.2.0-2344d60",
8
8
  "@artilleryio/sketches-js": "^2.1.1",
9
9
  "agentkeepalive": "^4.1.0",
10
10
  "arrivals": "^2.1.2",