From 49b4f523530d3e2a5b5057fd24c3d08e71cf4a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Mathieu?= Date: Tue, 21 Oct 2014 15:42:37 +0200 Subject: [PATCH] fix typo and jshint error --- Gruntfile.js | 4 ++-- app/index.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 16cd9ac..37e9205 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -12,8 +12,8 @@ module.exports = function (grunt) { jshint: { all: filesList, options: { - jshintrc: ".jshintrc", - }, + jshintrc: ".jshintrc" + } }, lineending: { diff --git a/app/index.js b/app/index.js index 85e823d..1245491 100644 --- a/app/index.js +++ b/app/index.js @@ -82,7 +82,9 @@ var AmdBuildGenerator = yeoman.generators.Base.extend({ try { var config = this.dest.read(path).match(confRe)[1]; this.log("Found configuration:"); + /*jshint evil:true */ this.log(JSON.stringify(eval("new Object(" + config + ")"), null, 2)); + /*jshint evil:false */ this.prompt(confirmConfigPrompt, function (props) { if (props.confirmConfig) { this.answers.loaderConfig = config;