SimulatedGREG/electron-vue

console.log from main process doesn't print CJK characters

オープン

#605 opened on 2018/05/04

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (1,506 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (15,384 個のスター)
PR merge metrics
 (PR metrics pending)

説明

"console.log" Chinese, Japanese in main process, cannot print.

Describe the issue / bug.

#

in "https://github.com/SimulatedGREG/electron-vue/tree/master/template/.electron-vue/dev-runner.js" line: 137


137: if (/[0-9A-z]+/.test(log)) {
   ....
}

log print english or number only.

Change


if (/[0-9A-z]+/.test(log)) {
   ....
}

to


if (log) {
   ....
}

or remove can fix it.

コントリビューターガイド