From 52475dbf23ee1ccee1c6cbc23cfd7b4af23dd8a9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 21 May 2019 21:22:00 +0300 Subject: [PATCH] Fix pipelines and clean up console output --- build/utils.js | 4 +--- build/webpack.prod.conf.js | 2 -- .../services/entity_normalizer/entity_normalizer.spec.js | 4 ++-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/build/utils.js b/build/utils.js index 3beee774..b45ffc16 100644 --- a/build/utils.js +++ b/build/utils.js @@ -58,7 +58,5 @@ exports.cssLoaders = function (options) { // Generate loaders for standalone style files (outside of .vue) exports.styleLoaders = function (options) { - var output = exports.cssLoaders(options) - console.log(output) - return output + return exports.cssLoaders(options) } diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index e7d25bfe..ed11ebad 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -14,8 +14,6 @@ let commitHash = require('child_process') .execSync('git rev-parse --short HEAD') .toString(); -console.log(commitHash) - var webpackConfig = merge(baseWebpackConfig, { mode: 'production', module: { diff --git a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js index bae890f8..3d34c5cc 100644 --- a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js +++ b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js @@ -322,9 +322,9 @@ describe('API Entities normalizer', () => { describe('MastoAPI emoji adder', () => { const emojis = makeMockEmojiMasto() - const imageHtml = 'image' + const imageHtml = 'image' .replace(/"/g, '\'') - const thinkHtml = 'thinking' + const thinkHtml = 'thinking' .replace(/"/g, '\'') it('correctly replaces shortcodes in supplied string', () => {