Skip to content

Commit 0fe06a4

Browse files
authored
Acutally fix tabs in command.lua
1 parent 5f749e5 commit 0fe06a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

miniOS/command.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ local function moveFile(from, to, force)
9595
checkArg(1, from, "string")
9696
checkArg(2, to, "string")
9797
if fs.isDirectory(to) then
98-
if not fs.name then error("Need to specify name for destination!", 0) end
98+
if not fs.name then error("Need to specify name for destination!", 0) end
9999
to = to .. "/" .. fs.name(from)
100-
end
100+
end
101101
if fs.exists(to) then
102102
if not force then
103103
printErr("target file exists")
@@ -115,9 +115,9 @@ local function copyFile(from, to, force)
115115
checkArg(1, from, "string")
116116
checkArg(2, to, "string")
117117
if fs.isDirectory(to) then
118-
if not fs.name then error("Need to specify name for destination!", 0) end
118+
if not fs.name then error("Need to specify name for destination!", 0) end
119119
to = to .. "/" .. fs.name(from)
120-
end
120+
end
121121
if fs.exists(to) then
122122
if not force then
123123
printErr("target file exists")
@@ -163,7 +163,7 @@ local function runline(line)
163163
runprog(command, parts) return true
164164
end
165165
end
166-
if filesystem.exists(command .. ".lua") then
166+
if filesystem.exists(command .. ".lua") then
167167
if not filesystem.isDirectory(command .. ".lua") then
168168
runprog(command .. ".lua", parts)
169169
return true

0 commit comments

Comments
 (0)