How to use the gulplog.warn function in gulplog

To help you get started, we’ve selected a few gulplog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gulpjs / gulp-cli / index.js View on Github external
cli.on('requireFail', function(name, error) {
  log.warn(
    ansi.yellow('Failed to load external module'),
    ansi.magenta(name)
  );
  /* istanbul ignore else */
  if (error) {
    log.warn(ansi.yellow(error.toString()));
  }
});
github gulpjs / gulp-cli / index.js View on Github external
cli.on('requireFail', function(name, error) {
  log.warn(
    ansi.yellow('Failed to load external module'),
    ansi.magenta(name)
  );
  /* istanbul ignore else */
  if (error) {
    log.warn(ansi.yellow(error.toString()));
  }
});
github minecraft-addon-tools / minecraft-addon-toolchain / packages / minecraft-addon-toolchain / v0 / index.js View on Github external
"Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang"
        );

        //script task factories
        this.scriptTasks = []; 
        this.behaviorTasks = [];     
        this.resourcesTasks = [];
        this.installBehaviorTasks = [];
        this.installResourcesTasks = [];

        this.outDir = "./built";
        this.scriptsDir = "./src/scripts/";
        this.behaviorDir = "./src/behaviors/";
        this.resourcesDir = "./src/resources/";

        log.warn("------------");
        log.warn("You are using the older V0 version of the toolchain.");
        log.warn("It is recommended that you update to the latest version. Please see the upgrade notes for details");
        log.warn("https://minecraft-addon-tools.github.io/docs/Toolchain/upgrade-notes-v1");
        log.warn("------------");
    }
github gulp-cookery / gulp-chef / lib / task / factory.js View on Github external
function noop() {
		if (!taskInfo.name) {
			taskInfo.name = '';
		}
		log.warn('configure:', 'the task "' + taskInfo.name + "\" won't do anything, misspelled a recipe name?");
		return self.create(prefix, taskInfo, {}, self.recipes.noop());
	}
github minecraft-addon-tools / minecraft-addon-toolchain / packages / minecraft-addon-toolchain / v0 / index.js View on Github external
//script task factories
        this.scriptTasks = []; 
        this.behaviorTasks = [];     
        this.resourcesTasks = [];
        this.installBehaviorTasks = [];
        this.installResourcesTasks = [];

        this.outDir = "./built";
        this.scriptsDir = "./src/scripts/";
        this.behaviorDir = "./src/behaviors/";
        this.resourcesDir = "./src/resources/";

        log.warn("------------");
        log.warn("You are using the older V0 version of the toolchain.");
        log.warn("It is recommended that you update to the latest version. Please see the upgrade notes for details");
        log.warn("https://minecraft-addon-tools.github.io/docs/Toolchain/upgrade-notes-v1");
        log.warn("------------");
    }
github garage11 / ca11 / gulp / tasks / assets.js View on Github external
childExec(exec, undefined, (_err, stdout, stderr) => {
                    if (stderr) logger.warn(stderr)
                    if (stdout) logger.warn(stdout)
                    done()
                })
            })
github garage11 / ca11 / gulp / tasks / assets.js View on Github external
childExec(exec, undefined, (_err, stdout, stderr) => {
                    if (stderr) logger.warn(stderr)
                    if (stdout) logger.warn(stdout)
                    done()
                })
            })
github minecraft-addon-tools / minecraft-addon-toolchain / packages / minecraft-addon-toolchain / v0 / index.js View on Github external
//script task factories
        this.scriptTasks = []; 
        this.behaviorTasks = [];     
        this.resourcesTasks = [];
        this.installBehaviorTasks = [];
        this.installResourcesTasks = [];

        this.outDir = "./built";
        this.scriptsDir = "./src/scripts/";
        this.behaviorDir = "./src/behaviors/";
        this.resourcesDir = "./src/resources/";

        log.warn("------------");
        log.warn("You are using the older V0 version of the toolchain.");
        log.warn("It is recommended that you update to the latest version. Please see the upgrade notes for details");
        log.warn("https://minecraft-addon-tools.github.io/docs/Toolchain/upgrade-notes-v1");
        log.warn("------------");
    }
github minecraft-addon-tools / minecraft-addon-toolchain / packages / minecraft-addon-toolchain / v0 / index.js View on Github external
);

        //script task factories
        this.scriptTasks = []; 
        this.behaviorTasks = [];     
        this.resourcesTasks = [];
        this.installBehaviorTasks = [];
        this.installResourcesTasks = [];

        this.outDir = "./built";
        this.scriptsDir = "./src/scripts/";
        this.behaviorDir = "./src/behaviors/";
        this.resourcesDir = "./src/resources/";

        log.warn("------------");
        log.warn("You are using the older V0 version of the toolchain.");
        log.warn("It is recommended that you update to the latest version. Please see the upgrade notes for details");
        log.warn("https://minecraft-addon-tools.github.io/docs/Toolchain/upgrade-notes-v1");
        log.warn("------------");
    }
github gulpjs / gulp-cli / lib / versioned / ^4.0.0 / log / sync-task.js View on Github external
function warn() {
  var taskKeys = Object.keys(tasks);

  if (!taskKeys.length) {
    return;
  }

  var taskNames = taskKeys.map(function(key) {
    return tasks[key];
  }).join(', ');

  process.exitCode = 1;

  log.warn(
    ansi.red('The following tasks did not complete:'),
    ansi.cyan(taskNames)
  );
  log.warn(
    ansi.red('Did you forget to signal async completion?')
  );
}

gulplog

Logger for gulp and gulp plugins

MIT
Latest version published 9 months ago

Package Health Score

74 / 100
Full package analysis