Browse files

Fixed issue with yui3docs commandline app

  • Loading branch information...
1 parent aa75a4b commit bda8e16d793d2d6f921540498d9e6f1d5c27af16 @davglass davglass committed Sep 10, 2010
Showing with 5 additions and 2 deletions.
  1. +4 −1 cli.js
  2. +1 −1 package.json
View
5 cli.js
@@ -1,5 +1,8 @@
#!/usr/bin/env node
-process.chdir(__dirname + '/lib/yui3/api/');
+
+var yui3 = require('yui3-core');
+
+process.chdir(yui3.path() + '/api/');
try {
var express = require('express');
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "yui3",
- "version": "0.5.4",
+ "version": "0.5.5",
"description": "YUI 3 Library on NodeJS",
"author": "Dav Glass <davglass@gmail.com>",
"bugs": { "web" : "http://github.com/davglass/nodejs-yui3/issues" },

0 comments on commit bda8e16

Please sign in to comment.