-
Notifications
You must be signed in to change notification settings - Fork 637
Open
Description
Summary
When the onChainCheck task is run without -PfileToCheck, the CLI suggests ./gradlew -PfileToCheckh=/path/you/want/to/import, which is not a valid Gradle invocation.
Steps to reproduce
- Checkout
masterat e0794ee. - Ensure Java 17 is available (
export JAVA_HOME=$HOME/.jdks/jdk-17.0.13+11 && export PATH=$JAVA_HOME/bin:$PATH). - Run
./gradlew onChainCheckwithout extra parameters.
Actual result
> Task :onChainCheck FAILED
Error: fileToCheck not specified :-)
Please execute like this: ./gradlew -PfileToCheckh=/path/you/want/to/import
The hint uses -PfileToCheckh and omits the task name, so copying it still fails.
Expected result
The usage message should show the proper command, e.g. ./gradlew onChainCheck -PfileToCheck=tokens/<chain>/<address>.json.
Environment
- Commit: e0794ee
- JDK:
openjdk version "17.0.13" 2024-10-15 (Temurin-17.0.13+11) - OS: Ubuntu 22.04 (WSL)
Related PR
- docs: correct onChainCheck usage hint #980 updates
OnChainCheck.ktto print a correct usage hint.
Metadata
Metadata
Assignees
Labels
No labels