alemonjs 2.1.90 → 2.1.91

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.
package/bin/publish.js CHANGED
@@ -437,8 +437,8 @@ export async function publish(release, options = {}) {
437
437
  console.log(`已推送到分支: ${releaseBranch}`);
438
438
  }
439
439
 
440
- runCommand('git', ['tag', '-f', gitTagName]);
441
- runCommand('git', ['push', 'origin', gitTagName, '--force']);
440
+ runCommand('git', ['-C', worktreeDir, 'tag', '-f', gitTagName]);
441
+ runCommand('git', ['-C', worktreeDir, 'push', 'origin', gitTagName, '--force']);
442
442
  console.log(`发布完成: ${packageName}@${targetVersion}`);
443
443
  } catch (error) {
444
444
  if (targetVersion !== localVersion) {
@@ -233,7 +233,9 @@ const handleMessage = (manager, message) => {
233
233
  lastAppReadyAt: now,
234
234
  bootTimings: {
235
235
  ...moduleState.bootTimings,
236
- transportReadyToAppReadyMs: moduleState.lastTransportReadyAt ? now - moduleState.lastTransportReadyAt : moduleState.bootTimings.transportReadyToAppReadyMs
236
+ transportReadyToAppReadyMs: moduleState.lastTransportReadyAt
237
+ ? now - moduleState.lastTransportReadyAt
238
+ : moduleState.bootTimings.transportReadyToAppReadyMs
237
239
  }
238
240
  };
239
241
  return;
@@ -270,7 +270,9 @@ const handleMessage = (manager, message) => {
270
270
  lastAppReadyAt: now,
271
271
  bootTimings: {
272
272
  ...platformState.bootTimings,
273
- transportReadyToAppReadyMs: platformState.lastTransportReadyAt ? now - platformState.lastTransportReadyAt : platformState.bootTimings.transportReadyToAppReadyMs
273
+ transportReadyToAppReadyMs: platformState.lastTransportReadyAt
274
+ ? now - platformState.lastTransportReadyAt
275
+ : platformState.bootTimings.transportReadyToAppReadyMs
274
276
  }
275
277
  };
276
278
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "2.1.90",
3
+ "version": "2.1.91",
4
4
  "description": "bot script",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",