mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
Bug fix (#131)
This commit is contained in:
parent
bf160af23a
commit
33a7cde082
4
.github/workflows/test_branch.yml
vendored
4
.github/workflows/test_branch.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
||||
- name: Integration test
|
||||
run: |
|
||||
git clone https://github.com/fluencelabs/aqua-playground.git
|
||||
sbt "cli/run -i aqua-playground/aqua -o aqua-playground/src/compiled"
|
||||
sbt "cli/run -i aqua-playground/aqua/examples -o aqua-playground/src/compiled/examples"
|
||||
cd aqua-playground
|
||||
npm i
|
||||
npm run exec
|
||||
npm run examples
|
||||
|
@ -71,7 +71,13 @@ object AquaCli extends IOApp with LogSupport {
|
||||
None
|
||||
)(
|
||||
main[IO],
|
||||
args
|
||||
// Weird ugly hack: in case version flag or help flag is present, ignore other options,
|
||||
// be it correct or not
|
||||
args match {
|
||||
case _ if args.contains("-v") || args.contains("--version") => "-v" :: Nil
|
||||
case _ if args.contains("-h") || args.contains("--help") => "-h" :: Nil
|
||||
case _ => args
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user