From 85b18fcfe6563d1dd593bfbdfb82ef2c8441018f Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Sun, 23 Oct 2016 18:36:40 -0600 Subject: [PATCH] Polishing --- generators/app/index.js | 4 ++-- gulpfile.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generators/app/index.js b/generators/app/index.js index d2f1dac..ea95af8 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -74,8 +74,8 @@ module.exports = yeoman.Base.extend({ checkJHVersion: function () { var supportedJHVersion = packagejs.dependencies['generator-jhipster']; if (jhipsterVar.jhipsterVersion && !semver.satisfies(jhipsterVar.jhipsterVersion, supportedJHVersion)) { - this.env.error(chalk.red.bold('ERROR!') + ` I support only JHipster versions greater than ${supportedJHVersion}... - If you want to use Stormpath with an older JHipster version, please contact support@stormpath.com.`); + this.env.error(chalk.red.bold('ERROR!') + ' I support only JHipster versions greater than ${supportedJHVersion}...'); + this.env.error('If you want to use Stormpath with an older JHipster version, please contact support@stormpath.com.'); } var security diff --git a/gulpfile.js b/gulpfile.js index 2fa367b..c82807d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,7 @@ var plumber = require('gulp-plumber'); gulp.task('static', function () { - return gulp.src('**/*.js') + return gulp.src('generators/app/index.js') .pipe(excludeGitignore()) .pipe(eslint()) .pipe(eslint.format())