switching to eslint for code checking
most rules degraded to WARN, so we don't go insane. This will change over time. The aim is to conform to a common style Signed-off-by: Claudius Coenen <opensource@amenthes.de>
This commit is contained in:
@@ -16,5 +16,5 @@ exports.uploadImage = function (imagePath, callback) {
|
||||
return
|
||||
}
|
||||
|
||||
callback(null, url.resolve(config.serverURL + '/uploads/', path.basename(imagePath)))
|
||||
callback(null, url.URL.resolve(config.serverURL + '/uploads/', path.basename(imagePath)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user