Skip to content

Commit e646d5b

Browse files
committed
A better fix for the final blank line.
1 parent be90b1a commit e646d5b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

z.cmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ if /i "%RunMode%"=="-n" (
113113
call "%LuaExe%" "%LuaScript%" "%RunMode%" %MatchType% %StrictSub% %InterMode% %StripMode% %*
114114
)
115115

116-
:end
117-
echo.
118-
goto :eof
116+
goto end
119117

120118
:popdir
121119
rem -- Exploits variable expansion and the pushd stack to set the current
@@ -124,3 +122,7 @@ popd
124122
setlocal
125123
set NewPath=%CD%
126124
endlocal & popd & cd /d "%NewPath%"
125+
126+
:end
127+
echo.
128+

0 commit comments

Comments
 (0)