fix wtvshared getServiceDep

This commit is contained in:
zefie
2022-11-30 12:03:36 -05:00
parent 7059e82aeb
commit 93259f8d84

View File

@@ -996,7 +996,7 @@ class WTVShared {
var found = false
this.minisrv_config.config.ServiceDeps.forEach(function (dep_vault_dir) {
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);
if (self.fs.existsSync(search)) {