Skip to content

Commit

Permalink
fix: correct mistake with parserOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 committed Jan 29, 2021
1 parent add143d commit 49eeb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/load/src/utils/load-parser-opts.ts
Expand Up @@ -35,7 +35,7 @@ export async function loadParserOpts(
parser.parserOpts =
isObjectLike(opts) && isObjectLike(opts.parserOpts)
? opts.parserOpts
: undefined;
: opts;
return parser;
}

Expand Down

0 comments on commit 49eeb40

Please sign in to comment.