From 23b4d5acd0106612b251f277e7944313b264a9c3 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Sat, 5 Jan 2019 22:55:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=88=90=E5=8A=9F=E6=97=B6=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/tools/translator/ssr/ssr.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aio/tools/translator/ssr/ssr.ts b/aio/tools/translator/ssr/ssr.ts index 8f35e2e0d7..f44b14c684 100644 --- a/aio/tools/translator/ssr/ssr.ts +++ b/aio/tools/translator/ssr/ssr.ts @@ -1,5 +1,4 @@ import * as fs from 'fs'; -// import * as http from 'http'; import * as klawSync from 'klaw-sync'; import { concat, defer, Observable } from 'rxjs'; import * as fetch from 'node-fetch'; @@ -47,7 +46,7 @@ const tasks = urls.map(url => renderPage(url)); concat(...tasks).subscribe((url) => { }, () => { }, () => { - process.exit(1); + process.exit(0); }); // 不自动退出