Skip to content

Commit

Permalink
handle working from within a symlinked directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Shaw committed Jul 27, 2015
1 parent e643200 commit e1b5a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cache.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const debug = require('debug')('canvas_css')
const debug = require('debug')('brandable_css')
import _ from 'lodash'
import {readJsonSync} from './utils'
import {paths as PATHS} from './config'
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function folderForBrandId(brandId) {
}

export function relativeSassPath (absPath) {
return path.relative(path.join(process.env.PWD, PATHS.sass_dir), absPath)
return path.relative(path.join(process.cwd(), PATHS.sass_dir), absPath)
}

export function isSassPartial (filePath) {
Expand Down

0 comments on commit e1b5a8e

Please sign in to comment.