Skip to content

Commit 4dfd8b0

Browse files
committed
Minor adjustments
1 parent 234f2d3 commit 4dfd8b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: ./
2222
with:
2323
sourceDir: "./tests"
24-
timeout-minutes: 30
24+
timeout-minutes: 15
2525
- name: "Upload Build Artifact"
2626
uses: actions/upload-artifact@v4
2727
id: "upload"

scripts/Build-VBA.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ Minimize-Window "Choose a theme"
246246
# Save the document
247247
Write-Host "Saving document..."
248248
try {
249-
if ($officeAppName -eq "PowerPoint") {
249+
if ($officeAppName -eq "PowerPoint" -or $officeAppName -eq "Word") {
250250
# For PowerPoint, use SaveAs with the same file name to force save
251251
$doc.SaveAs($outputFilePath)
252-
Write-Host "PowerPoint presentation saved using SaveAs method"
252+
Write-Host "Document saved using SaveAs method"
253253
} else {
254254
$doc.Save()
255255
Write-Host "Document saved successfully"

0 commit comments

Comments
 (0)