Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Commit

Permalink
fix /WX errorMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Aug 2, 2016
1 parent 1b4f713 commit 5642984
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export function provideBuilder() {
const warningMatch = [
'[^!]warning: (?<message>.*) \\((?<file>(\\w{1}:)?[^:]+):(?<line>\\d+)\\)'
];
const comboMatch = errorMatch.concat(warningMatch);

return [
{
Expand All @@ -74,7 +75,7 @@ export function provideBuilder() {
sh: true,
keymap: 'ctrl-alt-cmd-b',
atomCommandName: 'makensis:compile-on-wine-and-stop-at-warning',
errorMatch: warningMatch
errorMatch: comboMatch
}
];
}
Expand Down

0 comments on commit 5642984

Please sign in to comment.