File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ $platforms
4141 $env: BROWSERSTACK_BUILD_NAME = " now-$env: NOW_OS -$TEST_TYPE -$TechStack -testng"
4242 $env: BROWSERSTACK_PROJECT_NAME = " now-$env: NOW_OS -$TEST_TYPE "
4343
44- Set -Content " browserstack.yml" - Value $yamlContent
44+ Add -Content " browserstack.yml" - Value $yamlContent
4545 Log- Line " ✅ Created browserstack.yml in root directory" $NOW_RUN_LOG_FILE
4646
4747 # Validate Environment Variables
@@ -119,7 +119,7 @@ platforms:
119119$platforms
120120"@
121121
122- Set -Content " browserstack.yml" - Value $yamlContent
122+ Add -Content " browserstack.yml" - Value $yamlContent
123123
124124 $env: BSTACK_PARALLELS = $ParallelsPerPlatform
125125 $env: BSTACK_PLATFORMS = $platforms
@@ -246,8 +246,9 @@ function Setup-Mobile-Java {
246246app: $APP_URL
247247platforms:
248248$platforms
249- "@
250- $yamlContent | Set-Content - Path $env: BROWSERSTACK_CONFIG_FILE - Encoding UTF8
249+ "@
250+
251+ Add-Content - Path $env: BROWSERSTACK_CONFIG_FILE - Encoding UTF8
251252
252253 Report- BStackLocalStatus - LocalFlag $UseLocal
253254
@@ -337,7 +338,7 @@ platforms:
337338$platforms
338339"@
339340
340- Set -Content " $BROWSERSTACK_CONFIG_FILE " - Value $yamlContent
341+ Add -Content " $BROWSERSTACK_CONFIG_FILE " - Value $yamlContent
341342 $script :APP_PLATFORM = $originalPlatform
342343 Log- Line " ✅ Wrote platform YAMLs" $NOW_RUN_LOG_FILE
343344
You can’t perform that action at this time.
0 commit comments