Shellcheck say's success but sonatype lift unable to find errors using shell check

Hello team,

i have wantedly written shell scripting that could delete data from /root in github link: https://github.com/hemanth22/shellscripting_for_wipe/blob/feature/v1/purger.sh

But i could see sonatype-lift failing to capture the script errors.

Hello Hemanth,

Thank you for using Lift and providing feedback so that we can make it better! We have reviewed your issue and created a ticket in our backlog for prioritization.

3 Likes

@hemanthbitra Thank you for the report. The original thought was to keep shellcheck quiet, so we passed the argument -S error to only report the errors. As you note, Shellcheck’s warnings are also quite valuable so we’ve removed this flag. Our next release will be reporting errors and warnings. In addition you have the option to customize the shellcheck execution by committing a .shellcheckrc file to your repository.

1 Like