We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0720767 commit 2ebef29Copy full SHA for 2ebef29
index.js
@@ -204,7 +204,7 @@ function checkForNewerWith (client) {
204
205
client.resources.describe(normalizePath(conf.target + '/' + file.relative))
206
.then(function (resourceInfo) {
207
- const newer = Object.prototype.hasOwnProperty.call(!resourceInfo, 'modified') || (Date.parse(file.stat.mtime) > Date.parse(resourceInfo.modified))
+ const newer = !Object.prototype.hasOwnProperty.call(resourceInfo, 'modified') || (Date.parse(file.stat.mtime) > Date.parse(resourceInfo.modified))
208
callback(null, newer ? file : null)
209
})
210
.catch(function (e) {
0 commit comments