Changed quotes and applied change to PKPass.from (which uses internals-like to read model)

This commit is contained in:
Alexander Cerutti
2021-12-27 19:34:00 +01:00
parent 882f8de65a
commit 2923eb4d66
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ function getObjectFromModelFile(
const fileComponents = filePath.split(path.sep); const fileComponents = filePath.split(path.sep);
const fileName = fileComponents const fileName = fileComponents
.slice(fileComponents.length - depthFromEnd) .slice(fileComponents.length - depthFromEnd)
.join(path.sep); .join("/");
return { [fileName]: content }; return { [fileName]: content };
} }

View File

@@ -107,7 +107,7 @@ function getObjectFromModelFile(
const fileComponents = filePath.split(path.sep); const fileComponents = filePath.split(path.sep);
const fileName = fileComponents const fileName = fileComponents
.slice(fileComponents.length - depthFromEnd) .slice(fileComponents.length - depthFromEnd)
.join('/'); .join("/");
return { [fileName]: content }; return { [fileName]: content };
} }