Skip to content

Commit

Permalink
Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Mar 1, 2013
1 parent 8b8e0dd commit facd4c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf/docs/project.json
@@ -1,5 +1,5 @@
{
"projectName": "yogi",
"version": "0.0.68",
"version": "0.0.69",
"yuiSeedUrl": "http://yui.yahooapis.com/3.6.0/build/yui/yui.js"
}
13 changes: 10 additions & 3 deletions lib/util.js
Expand Up @@ -13,14 +13,21 @@ var fs = require('fs'),
readline = require('readline'),
editor = require('editor'),
find = function(dir, file, cb) {
var files = fs.readdirSync(dir),
var files, found,
next = path.join(dir, '../');

try {
files = fs.readdirSync(dir);
} catch (e) {
files = [];
}

found = files.some(function(f) {
if (f === file) {
cb(null, path.join(dir, f));
return true;
}
}),
next = path.join(dir, '../');
});

if (!found) {
if (dir === next) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "yogi",
"description": "YUI Or Gallery Interface (CLI to YUI and Gallery development)",
"version": "0.0.68",
"version": "0.0.69",
"author": "Dav Glass <davglass@gmail.com>",
"bin": {
"yogi": "./bin/yogi.js"
Expand Down

0 comments on commit facd4c0

Please sign in to comment.