If you try to build the resulting project with pnpn fuels build, you'll get an error
The contract's path should be counter and not counter/Forc.toml
Perhaps this is caused by using a wildcard in ./counter/* during the init command — note that the counter directory does not contains other/multiple contracts inside of it. It is the contract.
We should review the path's validation and expansion and improve tests around this.
When running this:
We end up with:
Notes:
pnpn fuels build
, you'll get an errorcounter
and notcounter/Forc.toml
./counter/*
during theinit
command — note that thecounter
directory does not contains other/multiple contracts inside of it. It is the contract.We should review the path's validation and expansion and improve tests around this.