fix: convert some warnings to errors
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ function M.commit(opts)
|
||||
local amend = opts and opts.amend or false
|
||||
local r = repo.resolve()
|
||||
if not r then
|
||||
util.warning("not in a git repository")
|
||||
util.error("not in a git repository")
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user