UNPKG

itk-wasm

Version:

High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.

13 lines (11 loc) 398 B
function outputOptionsCheck(interfaceJson) { interfaceJson.parameters.forEach((parameter) => { if (parameter.type.includes('OUTPUT')) { console.error(`OUTPUT options are not supported`) console.error(` Violating pipeline: ${interfaceJson.name}`) console.error(` Violating option: ${parameter.name}`) process.exit(1) } }) } export default outputOptionsCheck