fix wtvshared getServiceDep
This commit is contained in:
@@ -996,7 +996,7 @@ class WTVShared {
|
|||||||
var found = false
|
var found = false
|
||||||
this.minisrv_config.config.ServiceDeps.forEach(function (dep_vault_dir) {
|
this.minisrv_config.config.ServiceDeps.forEach(function (dep_vault_dir) {
|
||||||
if (found) return;
|
if (found) return;
|
||||||
if (template) dep_vault_dir += this.path.sep + "templates";
|
if (template) dep_vault_dir += self.path.sep + "templates";
|
||||||
|
|
||||||
var search = self.getAbsolutePath(dep_vault_dir + self.path.sep + file);
|
var search = self.getAbsolutePath(dep_vault_dir + self.path.sep + file);
|
||||||
if (self.fs.existsSync(search)) {
|
if (self.fs.existsSync(search)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user