From 50d4ef5ba6af94812a85fc63e3fc64788be3c19a Mon Sep 17 00:00:00 2001 From: Michael Mrowetz Date: Tue, 14 Mar 2017 22:31:19 +0900 Subject: [PATCH] #180 remove console logs --- build-utils/grunt-tasks/changelog-custom.js | 2 -- src/ts/transformers/har.ts | 3 --- 2 files changed, 5 deletions(-) diff --git a/build-utils/grunt-tasks/changelog-custom.js b/build-utils/grunt-tasks/changelog-custom.js index da9de4db..b4297f3f 100644 --- a/build-utils/grunt-tasks/changelog-custom.js +++ b/build-utils/grunt-tasks/changelog-custom.js @@ -62,8 +62,6 @@ module.exports = function (grunt) { lines.shift(); //remove the html-ancor tag in the first line grunt.config.data.changelog = escapeForBash(lines.join('\n')); - console.log("lines:", lines, "\n") - appendLogToFileStream(options.file, tmpBuffer, options.headerLines) .on('close', () => { grunt.log.ok(`${options.file} updated with latest changelog for ${options.version}`); diff --git a/src/ts/transformers/har.ts b/src/ts/transformers/har.ts index 5bf2c0b7..f55b79df 100644 --- a/src/ts/transformers/har.ts +++ b/src/ts/transformers/har.ts @@ -35,7 +35,6 @@ export function transformDoc(harData: Har | Log): WaterfallDocs { // make sure it's the *.log base node let data = (harData["log"] !== undefined ? harData["log"] : harData) as Log; const pages = getPages(data); - console.log("HAR created by %s(%s) %s page(s)", data.creator.name, data.creator.version, pages.length); return { pages: pages.map((_page, i) => this.transformPage(data, i)), @@ -98,8 +97,6 @@ export function transformPage(harData: Har | Log, pageIndex: number = 0): Waterf const pageStartTime = new Date(currPage.startedDateTime).getTime(); const pageTimings = currPage.pageTimings; - console.log("%s: %s of %s page(s)", currPage.title, pageIndex + 1, pages.length); - let doneTime = 0; const isTLS = documentIsSecure(data.entries); const entries = data.entries