Skip to content
Snippets Groups Projects
Unverified Commit 45e2eccb authored by Huu Le (Lee)'s avatar Huu Le (Lee) Committed by GitHub
Browse files

add filter for copy data files (#25)

parent b38adf89
Branches
Tags
No related merge requests found
......@@ -138,7 +138,10 @@ export const installTemplate = async (
if (props.dataSources.length > 0) {
console.log("\nGenerating context data...\n");
await copyContextData(props.root, props.dataSources);
await copyContextData(
props.root,
props.dataSources.filter((ds) => ds.type === "file"),
);
if (
props.postInstallAction === "runApp" ||
props.postInstallAction === "dependencies"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment