From 7698a9aab3c1f188a65388edb578bfc291356f7a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 11 May 2021 19:44:06 +0000 Subject: [PATCH] Normalize the name of the `fancy-log`-import --- gulpfile.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index 079c1b1..661bbe4 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -1,7 +1,7 @@ import { Server, Socket } from "net"; import browserSync = require("browser-sync"); import browserify = require("browserify"); -import log = require("fancy-log"); +import logger = require("fancy-log"); import FileSystem = require("fs-extra"); import { TaskFunction } from "gulp"; import gulp = require("gulp"); @@ -199,7 +199,7 @@ export async function Build(): Promise { if (settings.Watch) { - log.info(watchStartMessage); + logger.info(watchStartMessage); syncer.init({ open: false, @@ -320,7 +320,7 @@ export function Library(): NodeJS.ReadWriteStream if (queue.length === 0) { - log.info(watchFinishMessage(errorMessages.length)); + logger.info(watchFinishMessage(errorMessages.length)); if (errorMessages.length === 0) { @@ -342,7 +342,7 @@ export function Library(): NodeJS.ReadWriteStream if (queue.length === 0) { - log.info(incrementalMessage); + logger.info(incrementalMessage); } queue.push(builder()); @@ -470,7 +470,7 @@ export async function Stop(): Promise } catch { - log.info("The specified task is not running."); + logger.info("The specified task is not running."); } }