Skip to content

Commit

Permalink
fix: make LiquidError context property public
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l authored and harttle committed May 1, 2021
1 parent 62f8f70 commit 1fd76ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Template } from '../template/template'

export abstract class LiquidError extends Error {
private token: Token
private context: string
public context: string
private originalError: Error
public constructor (err: Error, token: Token) {
super(err.message)
Expand Down

0 comments on commit 1fd76ac

Please sign in to comment.