Skip to content

Commit

Permalink
Updates..
Browse files Browse the repository at this point in the history
  • Loading branch information
apnex committed Aug 13, 2018
1 parent 998a69f commit 1fed3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/getFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ self.getUrl = function(fileNode) {
self.getDownload = function(url, md5remote) {
self.request.get({url}, function (error, response, body) {
let file = JSON.parse(body);
self.getFile(file.downloadUrl, filesDir + '/' + file.fileName).then((md5local) => {
self.getFile(file.downloadUrl, process.cwd() + '/' + file.fileName).then((md5local) => {
if(md5remote == md5local) {
console.log('MD5 MATCH: local[ ' + md5local + ' ] remote [ ' + md5remote + ' ]');
} else {
Expand Down

0 comments on commit 1fed3c2

Please sign in to comment.