Skip to content

Commit

Permalink
Better guard against non-files in upload command
Browse files Browse the repository at this point in the history
  • Loading branch information
minecrafter committed Feb 22, 2016
1 parent 809a178 commit 8d8c41f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/io/playpen/core/coordinator/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ protected void runUploadCommand(String[] arguments) {
continue;
}

if (!p3File.isFile()) {
System.err.println("\"" + pathStr + "\" is not a file");
continue;
}

PackageManager packageManager = new PackageManager();
Initialization.packageManager(packageManager);

Expand Down

0 comments on commit 8d8c41f

Please sign in to comment.