linagora / angular-translate-quality

[ARCHIVED] A JS library to verify the coherence and the correctness of angular-translate elements
MIT License
4 stars 3 forks source link

Error messages are not displayed when overriding options #11

Closed vincent-zurczak closed 7 years ago

vincent-zurczak commented 7 years ago
var res = qual.validate({
  loc_i18n: './src/i18n/**/',
  loc_html: './src/app/**/'
});

... does not display error messages. Temporary workaround:

var res = qual.validate({
  loc_i18n: './src/i18n/**/',
  loc_html: './src/app/**/',
  cb: console.log
});

var res = qual.validate() works as expected. There is something wrong when we override options.

vincent-zurczak commented 7 years ago

Verified. Everything works correctly. I suspect tiredness. :wink: