elvis_core:rock/2 expecting Files to be either undefined or [string()], but elvis command line script elvis.erl converts commands (including Files after rock command) to [atom()].
This eventually lead to the function call elvis_file:find_files(Globs) in elvis_core app. Since Globs are list of atoms, filelib:wildcard/1 takes atom as an argument unforunately in this use case, and this will lead to function_clause crash.
elvis_core:rock/2expectingFilesto be eitherundefinedor[string()], but elvis command line script elvis.erl converts commands (including Files afterrockcommand) to[atom()].This eventually lead to the function call
elvis_file:find_files(Globs)in elvis_core app. SinceGlobsare list of atoms,filelib:wildcard/1takes atom as an argument unforunately in this use case, and this will lead to function_clause crash.