mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
🎨
This commit is contained in:
@@ -724,7 +724,7 @@ class Atom extends Model
|
||||
assert: (condition, message, metadata) ->
|
||||
return true if condition
|
||||
|
||||
error = new Error("Assertion failed: " + message)
|
||||
error = new Error("Assertion failed: #{message}")
|
||||
Error.captureStackTrace(error, @assert)
|
||||
|
||||
if metadata?
|
||||
|
||||
Reference in New Issue
Block a user