Fix a comment

This commit is contained in:
Leonid Logvinov
2018-03-21 18:01:26 +01:00
parent 32b85625c1
commit 73f8ae9a47

View File

@@ -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);