Describe the bug
when running the super-linter locally as described here it reports a success but it didn't lint anything.
To Reproduce
Steps to reproduce the behavior:
$ mkdir __test__
$ docker run -e RUN_LOCAL=true -v __test__:/tmp/lint github/super-linter:v2.1.0
--------------------------------------------------------------------------------
[... nice ASCI ART truncated ...]
--------------------------------------------------------------------------------
---------------------------------------------
--- GitHub Actions Multi Language Linter ----
---------------------------------------------
---------------------------------------------
The Super-Linter source code can be found at:
- https://github.com/github/super-linter
---------------------------------------------
--------------------------------------------
Gathering GitHub information...
NOTE: ENV VAR [RUN_LOCAL] has been set to:[true]
bypassing GitHub Actions variables...
Linting all files in mapped directory:[/tmp/lint]
--------------------------------------------
Gathering user validation information...
awk: cmd. line:1: Unexpected end of string
awk: cmd. line:1: Unexpected end of string
----------------------------------------------
----------------------------------------------
The script has completed
----------------------------------------------
----------------------------------------------
All file(s) linted successfully with no errors detected
----------------------------------------------
Expected behavior
Hey @karfau! The awk error messages you were seeing were fixed in version v2.1.1.
Can you try again with that version, and let us know if you鈥檙e still seeing any issues?
Thanks!
~Well yes, but even when mapping my typescript source directory there is still no indication that it linted any file.~ (This time I had a CAPS_LOCK typo in my command.)
Would it be a good idea to ~either indicate how many files it found or even~ change the message to "No files found for linting" when this is the case?
Hey @karfau! The
awkerror messages you were seeing were fixed in version v2.1.1.Can you try again with that version, and let us know if you鈥檙e still seeing any issues?
Thanks!
I don't see a release for 2.1.1.
The release has been published and newer versions available without bug :)
Most helpful comment
The release has been published and newer versions available without bug :)