build-workflow
Advanced tools
Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "build-workflow", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Simple gruntfile helper to define build workflows", | ||
@@ -5,0 +5,0 @@ "main": "config-loader.js", |
@@ -7,2 +7,3 @@ module.exports = function ( grunt, pkg, options ) { | ||
var gruntFile = grunt.file; | ||
var lib = require( 'grunt-ez-frontend/lib/lib' ); | ||
// region ## Grunt Tasks Definitions | ||
@@ -17,6 +18,6 @@ // This object defines the tasks to be registered in grunt. | ||
var data = me.data; | ||
var thePackage = { | ||
var thePackage = lib.extend( data.pkg || {}, { | ||
name: data.name, | ||
version: data.version | ||
}; | ||
} ); | ||
@@ -23,0 +24,0 @@ data.main && (thePackage.main = data.main); |
@@ -1,2 +0,1 @@ | ||
var chalk = require( 'chalk' ); | ||
var eslint = require( 'eslint' ); | ||
@@ -43,7 +42,2 @@ | ||
if ( this.filesSrc.length === 0 ) { | ||
grunt.log.writeln( chalk.magenta( 'Could not find any files to validate.' ) ); | ||
return; | ||
} | ||
var useCache = opts.useCache; | ||
@@ -56,2 +50,7 @@ grunt.log.ok( useCache ? 'using cache' : 'not using the cache' ); | ||
if ( filesSrc.length === 0 ) { | ||
grunt.log.ok( 'No files to verify' ); | ||
return; | ||
} | ||
if ( useCache ) { | ||
@@ -58,0 +57,0 @@ grunt.verbose.writeln( 'updated files ', filesSrc ); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7
390984