aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-22 01:01:26 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-22 01:01:26 +0800
commit73f8ae9a47b151d518d759d0d7cf79f6bea794d3 (patch)
tree554eda5dc145a416eb07bc31e9b07957e169dd76
parent32b85625c10279e53d75488fe81e3723afce0a1b (diff)
downloaddexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.tar
dexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.tar.gz
dexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.tar.bz2
dexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.tar.lz
dexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.tar.xz
dexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.tar.zst
dexon-sol-tools-73f8ae9a47b151d518d759d0d7cf79f6bea794d3.zip
Fix a comment
-rw-r--r--packages/deployer/src/compiler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts
index fcff9e22f..712169c89 100644
--- a/packages/deployer/src/compiler.ts
+++ b/packages/deployer/src/compiler.ts
@@ -182,7 +182,7 @@ export class Compiler {
const contractIdentifier = `${fileName}:${contractName}`;
if (_.isUndefined(compiled.contracts[contractIdentifier])) {
throw new Error(
- `Contract ${contractName} not found in ${fileName}. Please make sure your contract has the same name as a file`,
+ `Contract ${contractName} not found in ${fileName}. Please make sure your contract has the same name as it's file name`,
);
}
const abi: Web3.ContractAbi = JSON.parse(compiled.contracts[contractIdentifier].interface);