Skip to content

Commit

Permalink
Fix to move fatal to “standard” props
Browse files Browse the repository at this point in the history
Closes GH-11.

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Merlijn Vos <merlijn@soverin.net>
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
remcohaszing authored Dec 16, 2021
1 parent f749bb2 commit 667d6f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ export class VFileMessage extends Error {
* @type {string}
*/
this.reason = this.message
/**
* If true, marks associated file as no longer processable.
* @type {boolean?}
*/
// eslint-disable-next-line no-unused-expressions
this.fatal
/**
* Starting line of error.
* @type {number?}
Expand Down Expand Up @@ -110,11 +116,6 @@ export class VFileMessage extends Error {
* @type {string?}
*/
this.file
/**
* If true, marks associated file as no longer processable.
* @type {boolean?}
*/
this.fatal
/**
* You may add a url property with a link to documentation for the message.
* @type {string?}
Expand Down

0 comments on commit 667d6f6

Please sign in to comment.