• Nazar Gargol's avatar
    Restructured theme check logic · cea59859
    Nazar Gargol authored
    refs #10571
    
    - Removes dependency on 'context' property being set in error when
    checking a theme
    - Refactoring was needed to be able to avoid passing checked theme as a
    part of thrown error (logic was relying on error having this specific
    data in context property). This created a problem where we controlled
    the logic flow with data in error object.
    - Introduced 2 different types of theme check handling, one behaves the
    same way as before, the other gives more granulac control to the caller
    to decide what to do with returned errors.
    cea59859
Name
Last commit
Last update
.github Loading commit data...
content Loading commit data...
core Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc.json Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
Gruntfile.js Loading commit data...
LICENSE Loading commit data...
MigratorConfig.js Loading commit data...
PRIVACY.md Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
config.development.json Loading commit data...
index.js Loading commit data...
package.json Loading commit data...
yarn.lock Loading commit data...