Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[utils] dependencyInfo: use child_process instead of shelljs #75

Merged
merged 1 commit into from
Jan 25, 2017
Merged

[utils] dependencyInfo: use child_process instead of shelljs #75

merged 1 commit into from
Jan 25, 2017

Conversation

otofune
Copy link
Contributor

@otofune otofune commented Jan 25, 2017

drop shelljs from dependencies.

代わりにchild_process.execSyncを使います。今まで通り同期処理。
オプションの stdio: ['pipe', 'pipe', 'ignore']はステータス0以外のときにexecSyncはstderrをコンソール上に出力してしまうのでプロセスからのstderrをすべて無視するようにセットしています。
参照: https://nodejs.org/api/child_process.html#child_process_options_stdio

@otofune otofune changed the title [utils] dependencyInfo: use child_process instead shelljs [utils] dependencyInfo: use child_process instead of shelljs Jan 25, 2017
@syuilo syuilo self-requested a review January 25, 2017 13:36
@syuilo
Copy link
Member

syuilo commented Jan 25, 2017

Thanks!

@syuilo syuilo merged commit c52fbef into misskey-dev:master Jan 25, 2017
nokotaro referenced this pull request in nokotaro/misskey Oct 18, 2019
Steve-0628 pushed a commit to Steve-0628/misskey that referenced this pull request Mar 14, 2023
u1-liquid pushed a commit to u1-liquid/misskey that referenced this pull request Jun 15, 2023
anatawa12 added a commit to anatawa12/misskey that referenced this pull request Nov 24, 2023
Kesefon pushed a commit to Kesefon/misskey that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants