Normalize the name of the fancy-log-import

This commit is contained in:
Manuel Thalmann 2021-05-11 19:44:06 +00:00
parent 46ce17d365
commit 7698a9aab3

View file

@ -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<void>
{
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<void>
}
catch
{
log.info("The specified task is not running.");
logger.info("The specified task is not running.");
}
}