9a40440e82
fix https://linear.app/tryghost/issue/SLO-151/[ghost]-cannot-read-properties-of-null-reading-attributes-an - in the event the file doesn't contain a tag, the code currently crashes because it tries to read `attributes from `undefined` - we can fix that by checking the first element exists before reading from it - also includes a breaking test |
||
---|---|---|
.. | ||
agents | ||
fixtures | ||
mocks | ||
admin-utils.js | ||
api.js | ||
assertions.js | ||
batch-email-utils.js | ||
configUtils.js | ||
db-utils.js | ||
e2e-framework-mock-manager.js | ||
e2e-framework.js | ||
e2e-utils.js | ||
fixture-utils.js | ||
index.js | ||
mocha-retry-reporter.js | ||
overrides.js | ||
redirects.js | ||
stripe-mocker.js | ||
url-service-utils.js | ||
urlUtils.js |