const stdout = [];
- debug('ide client %s %o %o', ideClientCommand, ideClientArgs, body);
+ debug('ide client %s %o %O', ideClientCommand, ideClientArgs, body);
return new Promise((resolve, reject) => {
const ideClient = spawn(ideClientCommand, ideClientArgs);
try {
const parsed = JSON.parse(response);
- debugVerbose('parsed JSON response: %o', parsed);
+ debugVerbose('parsed JSON response: %O', parsed);
return Promise.resolve(parsed);
}
const result = Array.isArray(parsed.result) ? parsed.result : [];
return Promise.map(result, (item, i) => {
- debugVerbose('formatting result %o', item);
+ debugVerbose('formatting result %O', item);
return formatIdeResult(item, options, i, result.length);
}).then(formatted => ({
return isModuleNotFound || isUnknownModule || isUnknownModuleImport;
})) {
- debug('failed to rebuild because the module is unknown')
+ debug('module %s was not rebuilt because the module is unknown', psModule.name);
return Promise.reject(new UnknownModuleError());
}