diff --git a/source/src/commands/validate-template.cpp b/source/src/commands/validate-template.cpp index 29fb58d..c583e74 100644 --- a/source/src/commands/validate-template.cpp +++ b/source/src/commands/validate-template.cpp @@ -86,12 +86,13 @@ int run_shellcheck(const std::filesystem::path& template_path, std::vector&1"; + std::string command = "cat " + script.string() + " | docker run --rm -i koalaman/shellcheck:stable " + "-f gcc -s bash -e SC1091 - 2>&1"; FILE* pipe = popen(command.c_str(), "r"); if (!pipe) { @@ -118,10 +119,14 @@ int run_shellcheck(const std::filesystem::path& template_path, std::vector