Skip to content

Commit

Permalink
#424 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 15, 2024
1 parent cd59b3b commit a6e6918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = function(opts) {
const extra = [
`-Deo.failOnWarning=${opts.easy ? 'false' : 'true'}`,
];
if (semver.gte(opts.parser, '0.45.0')) {
if (opts.parser.endsWith('-SNAPSHOT') || semver.gte(opts.parser, '0.45.0')) {
return mvnw(
['eo:lint'].concat(flags(opts)).concat(extra),
opts.target, opts.batch
Expand Down

0 comments on commit a6e6918

Please sign in to comment.