nervosnetwork / ckb-integration-test

0 stars 6 forks source link

fix(replay): fix PR95, correct syntax error #96

Closed chanhsu001 closed 2 years ago

chanhsu001 commented 2 years ago

Fix PR #95 correct syntax error, when workflow runs, error message as below: shell: "CKB_LOG=error {{ ckb_workspace }}/ckb replay --tmp-target=/tmp --profile >> {{ ckb_data_dir }}/logs/run.log" ^ here There appears to be both 'k=v' shorthand syntax and YAML in this task. Only one syntax may be used.

the original statement as: "CKB_LOG=error {{ ckb_workspace }}/ckb replay --tmp-target=/tmp --profile >> {{ ckb_data_dir }}/logs/run.log" so change to "CKB_LOG='error' {{ ckb_workspace }}/ckb replay --tmp-target='/tmp' --profile >> {{ ckb_data_dir }}/logs/run.log"

But my question is: why yamllint can't detect this error? and the Ansible manual sucks.