Skip to content

Commit b295917

Browse files
committed
Code formatting
1 parent a4fe0e8 commit b295917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Setup.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class Setup {
136136
[SuppressMessage("PSUseDeclaredVarsMoreThanAssignments", "")]
137137
hidden [string] FindSubfolder([string] $directory) {
138138
$folders = Get-ChildItem $directory -Directory
139-
return $discard = switch ($folders.Length) {
139+
return $discard = switch ($folders.Count) {
140140
0 { throw "No subfolder found in: $directory." }
141141
1 { $folders[0].BaseName; break }
142142
default { throw "Multiple subfolders found in: $directory." }

0 commit comments

Comments
 (0)