Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit af92e3a

Browse files
authored
Merge pull request #267 from maffelbaffel/issue-266
Fixing #266
2 parents 2a97cab + 243a293 commit af92e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/marklogic/appdeployer/command/AbstractCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void setResourceFilenamesIncludePattern(Pattern pattern) {
104104
*/
105105
protected String copyFileToString(File f) {
106106
try {
107-
return new String(FileCopyUtils.copyToByteArray(f));
107+
return new String(FileCopyUtils.copyToByteArray(f.getAbsoluteFile()));
108108
} catch (IOException ie) {
109109
throw new RuntimeException(
110110
"Unable to copy file to string from path: " + f.getAbsolutePath() + "; cause: " + ie.getMessage(),

0 commit comments

Comments
 (0)