updateseq for both HOME and work
This commit is contained in:
2
.specstory/.gitignore
vendored
2
.specstory/.gitignore
vendored
@@ -1,2 +1,4 @@
|
|||||||
# SpecStory explanation file
|
# SpecStory explanation file
|
||||||
/.what-is-this.md
|
/.what-is-this.md
|
||||||
|
# SpecStory project identity file
|
||||||
|
/.project.json
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -158,8 +158,10 @@ try {
|
|||||||
|
|
||||||
"[$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')] === UpdateSequences (ps1) started in '$root' ===" | Add-Content -LiteralPath $logFile
|
"[$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')] === UpdateSequences (ps1) started in '$root' ===" | Add-Content -LiteralPath $logFile
|
||||||
|
|
||||||
# Scan for folders with work convention: daily_*
|
# Scan for folders with both conventions: daily_* (work) and YYYY-MM-DD (home)
|
||||||
$dailyDirs = Get-ChildItem -LiteralPath $root -Directory -Filter 'daily_*' | Where-Object { $_.Name -ne '_archive' }
|
$dailyDirsWork = Get-ChildItem -LiteralPath $root -Directory -Filter 'daily_*' | Where-Object { $_.Name -ne '_archive' }
|
||||||
|
$dailyDirsHome = Get-ChildItem -LiteralPath $root -Directory -Filter '????-??-??' | Where-Object { $_.Name -ne '_archive' }
|
||||||
|
$dailyDirs = @($dailyDirsWork) + @($dailyDirsHome)
|
||||||
|
|
||||||
$mapDaily = @{}
|
$mapDaily = @{}
|
||||||
$dailiesScanned = 0
|
$dailiesScanned = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user