Skip to content

Commit

Permalink
fix issue sintaxi#64 (all tests pass)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachahn committed Apr 8, 2013
1 parent 2ede04c commit 1e5b4f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ module.exports = function(config){
var fileop = obj.action.split("/")[0] == "fileops"

// fileops calls desn't want root in path
var rootpath = fileop ? null : root
var rootpath = fileop ? "" : root

// fileops calls desn't want scope in path
var scopepath = fileop ? null : scope
var scopepath = fileop ? "" : scope

// we wont always have this
var filepath = obj.path ? qs.escape(obj.path) : null
var filepath = obj.path ? qs.escape(obj.path) : ""

// build full path
var fullpath = path.join(obj.hostname)
Expand Down

0 comments on commit 1e5b4f3

Please sign in to comment.