browserstack-cypress-cli 1.36.7 → 1.36.8
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.
- package/bin/testObservability/crashReporter/index.js +1 -3
- package/bin/testObservability/helper/helper.js +2 -2
- package/package.json +1 -1
- package/.claude/settings.local.json +0 -13
- package/.nyc_output/1480c3f2-b8f1-4f4a-a59a-83e6ca5904dd.json +0 -1
- package/.nyc_output/771e6012-aa7b-4bb8-b680-2fca6a6eafd2.json +0 -1
- package/.nyc_output/b968a0a5-c10d-40a3-945a-14d600e51f48.json +0 -1
- package/.nyc_output/processinfo/1480c3f2-b8f1-4f4a-a59a-83e6ca5904dd.json +0 -1
- package/.nyc_output/processinfo/771e6012-aa7b-4bb8-b680-2fca6a6eafd2.json +0 -1
- package/.nyc_output/processinfo/b968a0a5-c10d-40a3-945a-14d600e51f48.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
|
@@ -27,9 +27,7 @@ let packages = {};
|
|
|
27
27
|
|
|
28
28
|
exports.requireModule = (module, internal = false) => {
|
|
29
29
|
let local_path = "";
|
|
30
|
-
if(
|
|
31
|
-
local_path = path.join(process.env["browserStackCwd"], 'node_modules', module);
|
|
32
|
-
} else if(internal) {
|
|
30
|
+
if(internal) {
|
|
33
31
|
local_path = path.join(process.cwd(), 'node_modules', 'browserstack-cypress-cli', 'node_modules', module);
|
|
34
32
|
} else {
|
|
35
33
|
local_path = path.join(process.cwd(), 'node_modules', module);
|
|
@@ -928,9 +928,9 @@ exports.runCypressTestsLocally = (bsConfig, args, rawArgs) => {
|
|
|
928
928
|
rawArgs = cleanupTestObservabilityFlags(rawArgs);
|
|
929
929
|
logger.info(`Running npx cypress run ${getReRunSpecs(rawArgs.slice(1)).join(' ')} ${getLocalSessionReporter().join(' ')}`);
|
|
930
930
|
const cypressProcess = spawn(
|
|
931
|
-
'npx',
|
|
931
|
+
/^win/.test(process.platform) ? 'npx.cmd' : 'npx',
|
|
932
932
|
['cypress', 'run', ...getReRunSpecs(rawArgs.slice(1)), ...getLocalSessionReporter()],
|
|
933
|
-
{ stdio: 'inherit', cwd: process.cwd(), env: process.env, shell:
|
|
933
|
+
{ stdio: 'inherit', cwd: process.cwd(), env: process.env, shell: false }
|
|
934
934
|
);
|
|
935
935
|
cypressProcess.on('close', async (code) => {
|
|
936
936
|
logger.info(`Cypress process exited with code ${code}`);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|