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