Skip to content

Commit

Permalink
Fix casing on NoYield error message
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy committed May 1, 2018
1 parent 346d2e4 commit 576767d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NoYield.lua
Expand Up @@ -14,7 +14,7 @@ local function resultHandler(co, ok, ...)
end

if coroutine.status(co) ~= "dead" then
error(debug.traceback(co, "Attempted to yield inside Changed event!"), 2)
error(debug.traceback(co, "Attempted to yield inside changed event!"), 2)
end

return ...
Expand Down

0 comments on commit 576767d

Please sign in to comment.