Merge pull request #1641 from iBotPeaches/issue-1639

Fix regression when --frame-path points to non existing directory
This commit is contained in:
Connor Tumbleson 2017-10-25 08:33:35 -04:00 committed by GitHub
commit f7a872cf22

View File

@ -790,7 +790,7 @@ final public class AndrolibResources {
File dir = new File(path);
if (!dir.isDirectory()) {
if (!dir.isDirectory() && dir.isFile()) {
throw new AndrolibException("--frame-path is set to a file, not a directory.");
}