Skip to content

Commit

Permalink
delete now dont returns
Browse files Browse the repository at this point in the history
  • Loading branch information
i3sey committed Sep 8, 2023
1 parent 9a631a2 commit ac8aae1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ int interpretAndExecuteCommand(const std::vector<std::vector<std::string>>& comm
result = deleteFileOrDirectory(sourcePath);
}
if (!result && catchErrors) {
logMessage("Error in " + commandName + " command");
return -1;
logMessage("There is no " + command[1] + " file.");
}
}
}
Expand Down

0 comments on commit ac8aae1

Please sign in to comment.