Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 210e0c4

Browse files
fix location alias removal problem in invoke recurse STF
1 parent 7c8a391 commit 210e0c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎Project_Set-TouchFile/Helpers/MidLogicHelper/Invoke-RecurseSTF.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function Invoke-RecurseSTF {
1313
# Step 2: Feed them back into Set-TouchFile, recurse
1414
Set-TouchFile `
1515
-Filename $fullInputPathObj.Filename `
16-
-Location $fullInputPathObj.FileFolder
16+
-desiredLocation $fullInputPathObj.FileFolder
1717

1818
# Step 3: after recurse call, program ends
1919
}

‎Project_Set-TouchFile/Helpers/ValidationHelper/Confirm-Filename.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ function Confirm-Filename {
8080
$isValidFilename = $false
8181
}
8282

83-
Write-Verbose "Checking filename '$filename' for leading or trailing dots..."
84-
if ($filename.StartsWith('.') -or $filename.EndsWith('.')) {
85-
Write-Warning "Filename '$filename' cannot start or end with a dot."
86-
$isValidFilename = $false
87-
}
83+
#Write-Verbose "Checking filename '$filename' for leading or trailing dots..."
84+
#if ($filename.StartsWith('.') -or $filename.EndsWith('.')) {
85+
# Write-Warning "Filename '$filename' cannot start or end with a dot."
86+
# $isValidFilename = $false
87+
#}
8888

8989
Write-Verbose "Checking length of path to the file:"
9090
Write-Verbose "'$fullPath'"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /