You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been debugging cz-conventional-changelog trying to determine why is it not grabbing my commitling.config.js settings. After changing index.js#L45 to log errors to the console, I saw this message: TypeError: commitlintLoad is not a function. Turns out @commitlint/load is not working correctly. Changing index.js#L31 to require(@commitlint/load).default, solves the issue. Seems like something changed in the way the @commitlint/load library is being compiled to JS.
It's an easy fix but wanted to confirm if I'm in the right track.
The text was updated successfully, but these errors were encountered:
I've been debugging
cz-conventional-changelog
trying to determine why is it not grabbing mycommitling.config.js
settings. After changingindex.js#L45
to log errors to the console, I saw this message:TypeError: commitlintLoad is not a function
. Turns out@commitlint/load
is not working correctly. Changingindex.js#L31
torequire(@commitlint/load).default
, solves the issue. Seems like something changed in the way the@commitlint/load
library is being compiled to JS.It's an easy fix but wanted to confirm if I'm in the right track.
The text was updated successfully, but these errors were encountered: