Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'remove-web3-from-truffle-core' into truffle-core-housek…
Browse files Browse the repository at this point in the history
…eeping
  • Loading branch information
eggplantzzz committed Jun 5, 2019
2 parents 786a5c7 + a164dd1 commit 8e204e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/truffle-core/lib/version.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const pkg = require("../package.json");
const solcpkg = require("solc/package.json");
const Web3 = require("web3");

const info = () => {
let bundleVersion;
Expand Down Expand Up @@ -45,7 +44,8 @@ const logSolidity = (logger = console, versionInformation, config) => {
};

const logWeb3 = (logger = console) => {
logger.log(`Web3.js v${Web3.version}`);
const web3Version = pkg.dependencies.web3;
logger.log(`Web3.js v${web3Version}`);
};

const logAll = (logger = console, config) => {
Expand Down

0 comments on commit 8e204e5

Please sign in to comment.