Converted all client code to Standard JS compliant
This commit is contained in:
1 parent
414dc386d6
commit
547f3065d3
28 files changed
+418
-173
No files matched your search
@@ -1,3 +1,5 @@
|
||||
/* global _ */
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
function makeSafePath (rawPath) {
|
||||
let rawParts = _.split(_.trim(rawPath), '/')
|
||||
@@ -7,3 +9,5 @@ function makeSafePath (rawPath) {
|
||||
|
||||
return _.join(_.filter(rawParts, (r) => { return !_.isEmpty(r) }), '/')
|
||||
}
|
||||
|
||||
/* eslint-enable no-unused-vars */
|
||||
Reference in new issue
Block a user