flow-cli
flow-cli copied to clipboard
flow deploy parsing error does not give enough context
Problem
Trying to deploy using flow deploy
if there are errors in one file does not show what file the error is in
Steps to Reproduce
- checkout flow-nft in standard-v2 branch
- start emulator
flow emulator -v
using 1.8.0 of flow-cli - deploy
flow deploy -n emulator
❌ Command Error: Parsing failed:
error: unexpected identifier
--> :50:28
|
50 | access(all) entitlement Withdrawable
| ^
Acceptance Criteria
The error shows the file that it fails to parse.
Context
Upgrading .find to stable cadence.
This sounds helpful. Thanks for adding this issue.