imdone-core 1.54.3 → 1.54.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,9 @@ module.exports = class DefaultBoardPropertiesPlugin extends Plugin {
95
95
  };
96
96
 
97
97
  const templatesFromTemplateDir = await readMarkdownFiles(templateDir);
98
- const templatesFromGithubDir = await readMarkdownFiles(githubDir, 'github_');
98
+ const templatesFromGithubDir = await stat(githubDir)
99
+ ? await readMarkdownFiles(githubDir, 'github_')
100
+ : {};
99
101
 
100
102
  return { simple: simpleTemplate, ...templatesFromTemplateDir, ...templatesFromGithubDir };
101
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imdone-core",
3
- "version": "1.54.3",
3
+ "version": "1.54.4",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "bin": {