Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix missing var from commit b2436bbd #711

Merged
merged 1 commit into from

2 participants

@mojit0

Looks like commit b2436bbd removed a var that was necessary. Replaced it and updated lint filter.

@caridy
Owner

+1

@mojit0 mojit0 merged commit f0b09c4 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 6, 2012
  1. @mojit0
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/management/utils.js
View
5 lib/management/utils.js
@@ -5,7 +5,7 @@
*/
-/*jslint stupid:true, todo:true, node:true*/
+/*jslint stupid:true, node:true, nomen:true*/
'use strict';
var fs = require('fs'),
@@ -14,6 +14,7 @@ var fs = require('fs'),
existsSync = fs.existsSync || path.existsSync,
hb = require('yui/handlebars').Handlebars,
tty = require('tty'), // use process.stdin/err.isTTY instead
+ archetypes_dir = path.join(__dirname, '../app/archetypes'),
colors = require('colors');
@@ -184,7 +185,7 @@ function validate_archetype(archetype_type, archetype_name) {
try {
curdir = path.join(archetypes_dir, archetype_type);
files = fs.readdirSync(curdir);
- files.forEach(function(archetype) {
+ files.forEach(function (archetype) {
var s = fs.statSync(path.join(curdir, archetype));
if (s.isDirectory()) {
Something went wrong with that request. Please try again.