ci: Add luacheck ci job (#317)

* Add luacheck ci job

* Fix most of the linting issues

* fixup: lint

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
This commit is contained in:
Simon Hauser
2020-12-09 21:46:41 +01:00
committed by GitHub
parent c276db06e2
commit 141dc6d55e
23 changed files with 148 additions and 356 deletions

View File

@@ -133,9 +133,9 @@ function OneshotJobFinder:new(opts)
end
})
local job_opts = finder:fn_command(prompt)
local job_opts = finder:fn_command(_)
if not job_opts then
error(debug.trackeback("expected `job_opts` from fn_command"))
error(debug.traceback("expected `job_opts` from fn_command"))
end
local writer = nil