Fix load settings manager

This commit is contained in:
Jim Laurie 2017-08-02 11:26:47 +02:00
parent c3f561fded
commit 996decce0a
7 changed files with 6 additions and 30194 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -49,7 +49,7 @@ module.exports = {
optionalPath: path => { optionalPath: path => {
return path return path
.replace(/(.settings|.json|.js)/g, '') .replace(/(\.settings|.json|.js)/g, '')
.split('/') .split('/')
.slice(1, path.split('/').length - 1) .slice(1, path.split('/').length - 1)
.join('.') .join('.')
@ -58,7 +58,7 @@ module.exports = {
aggregatePath: path => { aggregatePath: path => {
return path return path
.replace(/(.settings|.json|.js)/g, '') .replace(/(\.settings|.json|.js)/g, '')
.split('/') .split('/')
.slice(1) .slice(1)
.join('.') .join('.')