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 just realised that this does not properly throw or setting proper exit codes with process.exitCode if an import fails. Instead it just logs to the console:
Error: Could not import `module-does-not-exist` from any of the following locations:
/frontend-lib/src/scss/module-does-not-exist.scss
/frontend-lib/src/scss/module-does-not-exist.sass
/frontend-lib/src/scss/_module-does-not-exist.scss
/frontend-lib/src/scss/_module-does-not-exist.sass
/frontend-lib/node_modules/@axa-ch/style-guide/scss/module-does-not-exist.scss
/frontend-lib/node_modules/@axa-ch/style-guide/scss/module-does-not-exist.sass
/frontend-lib/node_modules/@axa-ch/style-guide/scss/_module-does-not-exist.scss
/frontend-lib/node_modules/@axa-ch/style-guide/scss/_module-does-not-exist.sass
This false behaivior is caused at the following lines:
I just realised that this does not properly
throw
or setting proper exit codes withprocess.exitCode
if an import fails. Instead it just logs to the console:Error: Could not import `module-does-not-exist` from any of the following locations: /frontend-lib/src/scss/module-does-not-exist.scss /frontend-lib/src/scss/module-does-not-exist.sass /frontend-lib/src/scss/_module-does-not-exist.scss /frontend-lib/src/scss/_module-does-not-exist.sass /frontend-lib/node_modules/@axa-ch/style-guide/scss/module-does-not-exist.scss /frontend-lib/node_modules/@axa-ch/style-guide/scss/module-does-not-exist.sass /frontend-lib/node_modules/@axa-ch/style-guide/scss/_module-does-not-exist.scss /frontend-lib/node_modules/@axa-ch/style-guide/scss/_module-does-not-exist.sass
This false behaivior is caused at the following lines:
Further more the
done
callback in above code blocks does not use first-error arguments.The text was updated successfully, but these errors were encountered: