Skip to content

Commit 6343de4

Browse files
feat: Get-Turtle empty turtle support ( Fixes #112 )
1 parent c5dcb7d commit 6343de4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Commands/Get-Turtle.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ function Get-Turtle {
8888
# We want to keep track of the current member,
8989
# and continue to the next word until we find a member name.
9090
$currentMember = $null
91-
$outputTurtle = $false
91+
# We want to output the turtle by default, in case we were called with no parameters.
92+
$outputTurtle = $true
9293

9394
# To do this in one pass, we will iterate through the words and arguments.
9495
# We use an indexed loop so we can skip past claimed arguments.

0 commit comments

Comments
 (0)