fix(cli): remove process.env.NODE_OPTIONS
This commit is contained in:
parent
1e7746292f
commit
7c7fd1bb5e
@ -1,6 +1,6 @@
|
|||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
## 2022/07/05 ~ v0.7.1-alpha.1
|
## 2022/07/05 ~ v0.7.2-alpha.1
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
## 2022/07/05 ~ v0.7.1-alpha.1
|
## 2022/07/05 ~ v0.7.2-alpha.1
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
||||||
|
@ -17,10 +17,6 @@ const env = {
|
|||||||
LOCAL_STORAGE_DEST: 'storage/uploads',
|
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 (!process.env.APP_ENV_PATH && process.argv[2] && process.argv[2] === 'test') {
|
||||||
if (existsSync(resolve(process.cwd(), '.env.test'))) {
|
if (existsSync(resolve(process.cwd(), '.env.test'))) {
|
||||||
process.env.APP_ENV_PATH = '.env.test';
|
process.env.APP_ENV_PATH = '.env.test';
|
||||||
|
Loading…
Reference in New Issue
Block a user