Skip to content

Commit a5a4858

Browse files
committed
Add automatic updates to the reporting script
1 parent 8a7e4e0 commit a5a4858

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Report.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ param(
1515
)
1616

1717
. "${PSScriptRoot}\Utils.ps1"
18+
19+
if ($RepoInUserDir) {
20+
Update-Repo
21+
}
1822
Elevate($myinvocation.MyCommand.Definition)
23+
if (! $RepoInUserDir) {
24+
Update-Repo
25+
}
1926

2027
$host.ui.RawUI.WindowTitle = "Mika's reporting script"
2128

0 commit comments

Comments
 (0)