Skip to content

Commit

Permalink
fix spec path calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
robhrt7 committed Mar 29, 2016
1 parent 37c8032 commit 2990505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/middleware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var processRequest = function (req, res, next) {
) {
var start = process.hrtime();
var specPath = path.join(global.app.get('user'), req.path);
var specDirPath = path.dirname(specPath);
var specDirPath = path.extname(specPath) === '' ? specPath : path.dirname(specPath);

glob(config.targetCssMask, {
cwd: specDirPath
Expand Down

0 comments on commit 2990505

Please sign in to comment.