Skip to content

Commit

Permalink
fix: typo cargo.toml -> Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed May 3, 2022
1 parent a7f5493 commit 92fe1ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export const storeCode = async ({
arm64,
}: StoreCodeParams) => {
process.chdir(`contracts/${contract}`);
const { package: pkg } = parse(fs.readFileSync('./cargo.toml', 'utf-8'));
const { package: pkg } = parse(fs.readFileSync('./Cargo.toml', 'utf-8'));
if (contract !== pkg.name) {
cli.error(`Change the package name in cargo.toml to ${contract} to build`);
cli.error(`Change the package name in Cargo.toml to ${contract} to build`);
}

if (!noRebuild) {
Expand Down

0 comments on commit 92fe1ae

Please sign in to comment.