@mirascript/help 0.1.59 → 0.1.61

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/build.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirascript/help",
3
- "version": "0.1.59",
3
+ "version": "0.1.61",
4
4
  "author": "CloudPSS",
5
5
  "license": "MIT",
6
6
  "description": "Help documentation for Mirascript core language.",
package/scripts/build.js CHANGED
@@ -23,7 +23,7 @@ const distRoot = path.join(packageRoot, 'dist');
23
23
  */
24
24
  async function readMarkdown(relativePath) {
25
25
  const fullPath = path.join(srcRoot, relativePath);
26
- return readFile(fullPath, 'utf8');
26
+ return await readFile(fullPath, 'utf8');
27
27
  }
28
28
 
29
29
  const FRONT_MATTER_RE = /^---\r?\n([\s\S]*?)\r?\n---\r?\n/;