mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 11:12:20 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
7a408fae3b
@ -114,7 +114,7 @@ exports.postCheck = async (opts) => {
|
|||||||
const port = opts.port || process.env.APP_PORT;
|
const port = opts.port || process.env.APP_PORT;
|
||||||
const result = await exports.isPortReachable(port);
|
const result = await exports.isPortReachable(port);
|
||||||
if (result) {
|
if (result) {
|
||||||
console.error(chalk.red(`post already in use ${port}`));
|
console.error(chalk.red(`Port ${port} already in use`));
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user