This commit is contained in:
huanghongxun committed 2019-05-09 00:49:10 +08:00
1 parent 6fb3610bcc
commit 300efb99d2
1 file changed
+1 -1
@@ -143,7 +143,7 @@ public class ForgeNewInstallTask extends TaskResult<Version> {
data.put(key, parseLiteral(value,
Collections.emptyMap(),
str -> {
Path dest = temp.resolve(str);
Path dest = Files.createTempFile(temp, null, null);
FileUtils.copyFile(fs.getPath(str), dest);
return dest.toString();
}));