Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #180 from book000/fix/dest-vc-no-warn
Browse files Browse the repository at this point in the history
fix: 移動先VCチャンネルを調べるときに、warnが表示されることで失敗するのでno-warningを追加
  • Loading branch information
yuuahp authored Nov 20, 2022
2 parents 71b48ed + d6d8bff commit da3bb38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private JSONArray getDestinationChannels(String userId) throws IOException {
Process p;
try {
ProcessBuilder builder = new ProcessBuilder();
builder.command(List.of("node", LibFiles.VFile.EXTERNAL_SCRIPT_DESTINATION_CHANNEL.getPath().toString(), "--userId", userId));
builder.command(List.of("node", "--no-warnings", LibFiles.VFile.EXTERNAL_SCRIPT_DESTINATION_CHANNEL.getPath().toString(), "--userId", userId));
builder.redirectErrorStream(true);
builder.directory(new File("."));
p = builder.start();
Expand Down

0 comments on commit da3bb38

Please sign in to comment.