@dcloudio/uni-cli-shared 2.0.2-alpha-4060320250423001 → 2.0.2-alpha-4060720250515001

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/lib/util.js +2 -1
  2. package/package.json +2 -2
package/lib/util.js CHANGED
@@ -192,7 +192,8 @@ function showRunPrompt (delay = 300) {
192
192
  clearTimeout(runPromptTimer)
193
193
  }
194
194
  runPromptTimer = setTimeout(() => {
195
- if (!isInHBuilderX) {
195
+ const { runByHBuilderX } = require('./platform')
196
+ if (!runByHBuilderX) {
196
197
  const chalk = require('chalk')
197
198
  const outputDir = path.relative(
198
199
  process.env.UNI_CLI_CONTEXT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "2.0.2-alpha-4060320250423001",
3
+ "version": "2.0.2-alpha-4060720250515001",
4
4
  "description": "uni-cli-shared",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
@@ -27,5 +27,5 @@
27
27
  "postcss-urlrewrite": "^0.2.2",
28
28
  "strip-json-comments": "^2.0.1"
29
29
  },
30
- "gitHead": "063cac9ed3938ab2233c4fccde568bcd3ec623a2"
30
+ "gitHead": "64fe6b5b42e02ed77079d47681f201a6bdf30885"
31
31
  }