Skip to content

Commit

Permalink
Prefix path-absolute urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kuu committed Jul 10, 2019
1 parent 95f478b commit 78615d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class HttpPutWriter {
if (fs.existsSync(uri)) {
remotePath = path.join(rootPath, path.basename(uri));
} else {
remotePath = getPathFromUrl(uri);
remotePath = path.join(rootPath, getPathFromUrl(uri));
}
} else {
remotePath = path.join(rootPath, getPath(uri));
Expand Down

0 comments on commit 78615d3

Please sign in to comment.