Permalink
Browse files

cleanup

  • Loading branch information...
1 parent edb82e7 commit 7de1b8dc113be7a1416423c80af7fc944cd8ba93 @crcn crcn committed May 1, 2013
Showing with 10 additions and 10 deletions.
  1. +5 −5 lib/build.js
  2. +1 −1 package.json
  3. +4 −4 src/build.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "nojam",
- "version": "0.0.4",
+ "version": "0.0.5",
"description": "nodejam =======",
"main": "./lib/index.js",
"scripts": {
View
@@ -84,11 +84,11 @@ module.exports = class
_fixDirs: (base, dirs) ->
dirs.map((d) ->
- path = base + "/" + d
- stat = fs.lstatSync(path)
+ pt = base + "/" + d
+ stat = fs.lstatSync(pt)
if stat.isSymbolicLink()
- path = fs.readlinkSync path
- path
+ pt = fs.readlinkSync pt
+ pt
).filter (d) ->
path.basename(d).substr(0,1) isnt "." and fs.lstatSync(d).isDirectory()

0 comments on commit 7de1b8d

Please sign in to comment.