Skip to content

Commit

Permalink
Merge pull request #43 from Tyson1986/master
Browse files Browse the repository at this point in the history
Fix problem with uploading file on Windows.
  • Loading branch information
wakaleo committed Mar 30, 2015
2 parents 8a5b36c + e7ae87e commit 9486814
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static boolean isOnTheUnixFileSystem(final String filename) {
}

private String getFileFromResourcePath(final String filename) {
return resourceOnClasspath(filename).getFile();
return new File(resourceOnClasspath(filename).getFile()).getAbsolutePath();
}

private String getFileFromFileSystem(final String filename) {
Expand Down

0 comments on commit 9486814

Please sign in to comment.