Normalize the name of the fancy-log
-import
This commit is contained in:
parent
46ce17d365
commit
7698a9aab3
1 changed files with 5 additions and 5 deletions
10
gulpfile.ts
10
gulpfile.ts
|
@ -1,7 +1,7 @@
|
||||||
import { Server, Socket } from "net";
|
import { Server, Socket } from "net";
|
||||||
import browserSync = require("browser-sync");
|
import browserSync = require("browser-sync");
|
||||||
import browserify = require("browserify");
|
import browserify = require("browserify");
|
||||||
import log = require("fancy-log");
|
import logger = require("fancy-log");
|
||||||
import FileSystem = require("fs-extra");
|
import FileSystem = require("fs-extra");
|
||||||
import { TaskFunction } from "gulp";
|
import { TaskFunction } from "gulp";
|
||||||
import gulp = require("gulp");
|
import gulp = require("gulp");
|
||||||
|
@ -199,7 +199,7 @@ export async function Build(): Promise<void>
|
||||||
{
|
{
|
||||||
if (settings.Watch)
|
if (settings.Watch)
|
||||||
{
|
{
|
||||||
log.info(watchStartMessage);
|
logger.info(watchStartMessage);
|
||||||
|
|
||||||
syncer.init({
|
syncer.init({
|
||||||
open: false,
|
open: false,
|
||||||
|
@ -320,7 +320,7 @@ export function Library(): NodeJS.ReadWriteStream
|
||||||
|
|
||||||
if (queue.length === 0)
|
if (queue.length === 0)
|
||||||
{
|
{
|
||||||
log.info(watchFinishMessage(errorMessages.length));
|
logger.info(watchFinishMessage(errorMessages.length));
|
||||||
|
|
||||||
if (errorMessages.length === 0)
|
if (errorMessages.length === 0)
|
||||||
{
|
{
|
||||||
|
@ -342,7 +342,7 @@ export function Library(): NodeJS.ReadWriteStream
|
||||||
|
|
||||||
if (queue.length === 0)
|
if (queue.length === 0)
|
||||||
{
|
{
|
||||||
log.info(incrementalMessage);
|
logger.info(incrementalMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
queue.push(builder());
|
queue.push(builder());
|
||||||
|
@ -470,7 +470,7 @@ export async function Stop(): Promise<void>
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
log.info("The specified task is not running.");
|
logger.info("The specified task is not running.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue