chore: fix linting

This commit is contained in:
harttle
2019-02-23 03:50:45 +08:00
parent 56c7992b76
commit 3cf01603e8
35 changed files with 107 additions and 110 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
import * as _ from './underscore'
import { __extends } from 'tslib'
import Token from 'src/parser/token'
import ITemplate from 'src/template/itemplate'
@@ -11,7 +10,7 @@ abstract class LiquidError extends Error {
this.originalError = err
this.token = token
}
protected update() {
protected update () {
const err = this.originalError
const context = mkContext(this.token)
this.message = mkMessage(err.message, this.token)