add: extra warning not to trust error message

The returned error message is ALWAYS true due to always being a string (`""`).
This commit is contained in:
carsakiller authored and O1LER committed 2024-10-04 12:59:37 +02:00
1 parent 117ab90e16
commit b943ee6192
1 file changed
+5
+5
View File
@@ -731,6 +731,11 @@ if not success then
else
-- do something with the directory
end
-- Be careful not to do this! This will ALWAYS be true!
if error_message then
-- ...
end
```
#### `FS.Remove(path: string) -> bool,string`