opt(dev_plugin): add require path to remote script; optimize saved remote script's name

This commit is contained in:
hyb1996
2018-03-30 17:51:11 +08:00
parent af5bf8ecf2
commit 7a4eb33245
3 changed files with 5 additions and 5 deletions

View File

@@ -349,6 +349,7 @@ public class PFiles {
}
public static String getName(String filePath) {
filePath = filePath.replace('\\', '/');
return new File(filePath).getName();
}