Cleaning touches
This commit is contained in:
parent
676f15fb49
commit
19c81e187b
|
@ -36,7 +36,6 @@ const parseResponse = function(ipc, resBody){
|
|||
} catch(e) {
|
||||
return; // Response is not a json. Do nothing
|
||||
}
|
||||
console.log(jsonO);
|
||||
if(commList[jsonO.id]){
|
||||
commList[jsonO.id].transactionHash = jsonO.result;
|
||||
transactions[jsonO.result] = {commListId: jsonO.id};
|
||||
|
|
|
@ -238,7 +238,7 @@ class ContractSource {
|
|||
break;
|
||||
|
||||
default:
|
||||
console.log(`Don't know how to handle node type ${node.nodeType}`);
|
||||
// console.log(`Don't know how to handle node type ${node.nodeType}`);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*global web3*/
|
||||
const fs = require('fs');
|
||||
const process = require('process');
|
||||
|
||||
const fs = require('../../core/fs');
|
||||
const ContractSources = require('./contract_sources');
|
||||
|
||||
// Set up the web3 extension
|
||||
|
@ -23,8 +23,10 @@ class CodeCoverage {
|
|||
this.seenTransactions = {};
|
||||
|
||||
var self = this;
|
||||
process.on('exit', (code) => {
|
||||
fs.writeFileSync('/tmp/coverage.json', JSON.stringify(this.coverageReport));
|
||||
|
||||
process.on('exit', (_code) => {
|
||||
const coverageReportPath = fs.dappPath('.embark', 'coverage.json');
|
||||
fs.writeFileSync(coverageReportPath, JSON.stringify(self.coverageReport));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue