function compile()

in build.js [51:72]


function compile(path) {
  path = resolve(path);
  fs.access(path, fs.constants.F_OK, (err) => {
    if (err) {
      console.log(`Invalid path: ${path}`);
      return;
    }
    exec("docker images qcms", (err, stdout) => {
      const output = stdout
        .split("\n")
        .map((line) => line.trim())
        .filter((line) => Boolean(line));
      if (output.length === 1) {
        create().then(() => {
          build(path);
        });
      } else {
        build(path);
      }
    });
  });
}