Skip to content

Commit 2ff6c12

Browse files
authored
Merge pull request #968 from wss-org/History
强制 core 更新
2 parents a5ed8f0 + 792f0f1 commit 2ff6c12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/entry-public-method/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class EntryPublicMethod {
138138
}
139139

140140
private async updateCore() {
141-
if (!_.isFunction(core.getAvailablePort)) {
141+
if (!_.isFunction(core.getCurrentEnvironment)) {
142142
try {
143143
const homePath = _.isFunction(core.getRootHome) ? core.getRootHome() : os.homedir();
144144
const corePath = path.join(homePath, 'cache', 'core');

0 commit comments

Comments
 (0)