Skip to content

Commit de37bb4

Browse files
authored
Merge pull request #109 from pkbullock/main-mcs
Enablement of Copilot Studio Samples
2 parents f6bc2fd + 754e5dd commit de37bb4

53 files changed

Lines changed: 1774 additions & 25 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/Generate-SampleList.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ param (
3030
)
3131
begin {
3232

33-
$sourceFile = "$(Get-Location)\..\README.md"
33+
$sourceFile = Join-Path -Path (Get-Location) -ChildPath ".." | Join-Path -ChildPath "README.md"
3434

3535

3636
# ------------------------------------------------------------------------------
@@ -65,7 +65,7 @@ begin {
6565
exit
6666
}
6767

68-
$BaseDir = "$(Get-Location)\.."
68+
$BaseDir = Join-Path -Path (Get-Location) -ChildPath ".."
6969
$assetsFolder = "assets"
7070
$samplesFolderName = "samples"
7171
$content = Get-Content -Path $sourceFile -Raw
@@ -203,7 +203,7 @@ process {
203203
'@
204204

205205

206-
$sampleFiles = Get-ChildItem -Path "$(Get-Location)\Samples" -Filter "sample.json" -Recurse
206+
$sampleFiles = Get-ChildItem -Path (Join-Path -Path (Get-Location) -ChildPath "Samples") -Filter "sample.json" -Recurse
207207

208208

209209

0 commit comments

Comments
 (0)