refactor: remove mock-fs from dev dependency

This commit is contained in:
harttle
2019-02-19 22:28:27 +08:00
parent f432aade6a
commit 852c6ad453
70 changed files with 711 additions and 795 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ TokenizationError.prototype.constructor = TokenizationError
export class ParseError extends LiquidError {
constructor (err, token) {
super(err, token)
_.assign(this, err)
this.message = err.message
super.captureStackTrace(this)
}
}
@@ -58,7 +58,7 @@ ParseError.prototype.constructor = ParseError
export class RenderError extends LiquidError {
constructor (err, tpl) {
super(err, tpl.token)
_.assign(this, err)
this.message = err.message
super.captureStackTrace(this)
}
}