Ghost/ghost/package-json/test
Daniel Lockyer 8e83836de9 Fixed listing all themes when a theme path is invalid
- in the event one of the theme paths is invalid (a symlink that goes to
  a non-existent path), Ghost currently bails out of listing all themes
  because `fs.stat` throws an error
- in that case, we should just ignore the theme and continue
- this helps us prepare new symlinks whilst their source is not valid
- this commit wraps the code with try-catch to protect against that
- also adds a test
2023-09-26 13:33:39 +02:00
..
utils Added initial package-json package 2021-05-06 15:16:29 +01:00
.eslintrc.js Added initial package-json package 2021-05-06 15:16:29 +01:00
filter.test.js Removed class pattern 2021-06-09 14:39:41 +01:00
parse.test.js Removed class pattern 2021-06-09 14:39:41 +01:00
read.test.js Fixed listing all themes when a theme path is invalid 2023-09-26 13:33:39 +02:00