include tag is not working.

This commit is contained in:
Brad Arant committed 2024-10-22 17:03:17 -07:00
1 parent b837c38c2a
commit 8499199592
3 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -9,7 +9,9 @@ namespace jet {
throw coreutils::Exception("file keyword must be specified.");
if(hasContainer)
throw coreutils::Exception("include tag should not have a container.");
coreutils::File file(file);
hasContainer = true;
coreutils::File file(variables["file"]);
file.read();
container = file.asZString();
processContainer(container);
}