We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 520d0ae + 81a02e1 commit bbe4275Copy full SHA for bbe4275
wrapper.js
@@ -85,8 +85,10 @@ function setupMethods (soljson) {
85
result = compileJSONCallback(JSON.stringify(input), optimise, readCallback);
86
} else if (typeof input !== 'string' && compileJSONMulti !== null) {
87
result = compileJSONMulti(JSON.stringify(input), optimise);
88
- } else {
+ } else if (compileJSON !== null) {
89
result = compileJSON(input, optimise);
90
+ } else {
91
+ return { errors: 'No suitable compiler interface found.' };
92
}
93
return JSON.parse(result);
94
};
0 commit comments