Fixed typo in JseOsLib

This commit is contained in:
Enyby
2018-09-16 16:46:13 +03:00
committed by GitHub
parent e7058bcd6a
commit ad20f939b1

View File

@@ -120,7 +120,7 @@ public class JseOsLib extends org.luaj.vm2.lib.OsLib {
if ( ! f.exists() )
throw new IOException("No such file or directory");
if ( ! f.renameTo(new File(newname)) )
throw new IOException("Failed to delete");
throw new IOException("Failed to rename");
}
protected String tmpname() {