mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
6121451b5d
refs https://github.com/TryGhost/Toolbox/issues/386 - Reusing tontext mapping logic to improve maintainability. It seems like the `update` method was not updated properly or intentionally was left out from 'import' source as that should not ever happen theoretically. Probably the latter is most likely. - My reasoning on reusing same context to source mapping is: it is better to attribute an appropriate "import" source here. Who knows, maybe we'll have logic in the future where the importer updates instead of skipping existing members. It would not make sense to attribute the source to 'member' in that case, amirite? - This refactor also makes maintainability of this code way easier |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
.gitignore | ||
index.js | ||
package.json |