Skip to content

Commit

Permalink
Merge pull request #1813 from TheAlphaNerd/dest-cleanup
Browse files Browse the repository at this point in the history
Fix build error for multiple files
  • Loading branch information
Panya committed Jan 14, 2015
2 parents 7bc13e1 + f179de3 commit 3ca586c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/stylus
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ function help(name) {

// Compilation options

if (files.length > 1 && extname(dest) !== '') {
dest = dirname(dest);
}

var options = {
filename: 'stdin'
, compress: compress
Expand Down

0 comments on commit 3ca586c

Please sign in to comment.