File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ class FormulaParser {
335
335
}
336
336
if ( this . parser . errors . length > 0 ) {
337
337
const error = this . parser . errors [ 0 ] ;
338
- throw this . utils . formatChevrotainError ( error , inputText ) ;
338
+ throw Utils . formatChevrotainError ( error , inputText ) ;
339
339
}
340
340
return res ;
341
341
}
@@ -368,7 +368,7 @@ class FormulaParser {
368
368
}
369
369
if ( this . parser . errors . length > 0 ) {
370
370
const error = this . parser . errors [ 0 ] ;
371
- throw this . utils . formatChevrotainError ( error , inputText ) ;
371
+ throw Utils . formatChevrotainError ( error , inputText ) ;
372
372
}
373
373
return res ;
374
374
}
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ class Utils {
386
386
return obj instanceof FormulaError ;
387
387
}
388
388
389
- formatChevrotainError ( error , inputText ) {
389
+ static formatChevrotainError ( error , inputText ) {
390
390
let line , column , msg = '' ;
391
391
// e.g. SUM(1))
392
392
if ( error instanceof NotAllInputParsedException ) {
You can’t perform that action at this time.
0 commit comments