mirror of https://github.com/embarklabs/embark.git
include ipfs version in versions cmd
This commit is contained in:
parent
65ae827350
commit
81f06bc984
|
@ -28,16 +28,15 @@ class Console {
|
|||
];
|
||||
return helpText.join('\n');
|
||||
} else if (cmd === 'versions') {
|
||||
//let currentSolcVersion = require('../../package.json').dependencies.solc;
|
||||
let solcVersionInConfig = this.contractsConfig.versions.solc;
|
||||
|
||||
//let web3Version = require('../../package.json').dependencies["web3.js"].replace("^","");
|
||||
let web3VersionInConfig = this.contractsConfig.versions["web3.js"];
|
||||
let ipfsApiVersion = require('../../package.json').dependencies["ipfs-api"];
|
||||
|
||||
let text = [
|
||||
'versions in use:',
|
||||
'solc: ' + solcVersionInConfig,
|
||||
'web3.js: ' + web3VersionInConfig
|
||||
'web3.js: ' + web3VersionInConfig,
|
||||
'ipfs-api: ' + ipfsApiVersion
|
||||
];
|
||||
|
||||
return text.join('\n');
|
||||
|
|
Loading…
Reference in New Issue