mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
fix(cli): remove process.env.NODE_OPTIONS
This commit is contained in:
parent
1e7746292f
commit
7c7fd1bb5e
@ -1,6 +1,6 @@
|
||||
# Release Notes
|
||||
|
||||
## 2022/07/05 ~ v0.7.1-alpha.1
|
||||
## 2022/07/05 ~ v0.7.2-alpha.1
|
||||
|
||||
### New features
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 更新日志
|
||||
|
||||
## 2022/07/05 ~ v0.7.1-alpha.1
|
||||
## 2022/07/05 ~ v0.7.2-alpha.1
|
||||
|
||||
### New features
|
||||
|
||||
|
@ -17,10 +17,6 @@ const env = {
|
||||
LOCAL_STORAGE_DEST: 'storage/uploads',
|
||||
};
|
||||
|
||||
if ('v18' === process.version.split('.').shift()) {
|
||||
process.env.NODE_OPTIONS = '--openssl-legacy-provider';
|
||||
}
|
||||
|
||||
if (!process.env.APP_ENV_PATH && process.argv[2] && process.argv[2] === 'test') {
|
||||
if (existsSync(resolve(process.cwd(), '.env.test'))) {
|
||||
process.env.APP_ENV_PATH = '.env.test';
|
||||
|
Loading…
Reference in New Issue
Block a user