diff --git a/src/cache.js b/src/cache.js index 9073ba6..8d5db73 100644 --- a/src/cache.js +++ b/src/cache.js @@ -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' diff --git a/src/utils.js b/src/utils.js index b751d87..092510f 100644 --- a/src/utils.js +++ b/src/utils.js @@ -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) {