Skip to content

Commit 4fc35b7

Browse files
Merge pull request #277327 from seesharprun/patch-3
Cosmos DB | Update emulator CI/CD tutorial to use variable paths
2 parents cda6cc3 + 359d4a6 commit 4fc35b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/tutorial-setup-ci-cd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Example of a task executing the PowerShell script needed to start the emulator.
3535
3636
# Write your PowerShell commands here.
3737
38-
dir "C:\Program Files\Azure Cosmos DB Emulator\"
38+
dir "$env:ProgramFiles\Azure Cosmos DB Emulator\"
3939
4040
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
4141
@@ -81,7 +81,7 @@ steps:
8181
script: |
8282
# Write your PowerShell commands here.
8383
84-
dir "C:\Program Files\Azure Cosmos DB Emulator\"
84+
dir "$env:ProgramFiles\Azure Cosmos DB Emulator\"
8585
8686
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
8787

0 commit comments

Comments
 (0)