Skip to content

Commit

Permalink
Merge pull request #115 from dogfeet/patch-priority
Browse files Browse the repository at this point in the history
Plugin priority does not appear to work, which can be disabling
  • Loading branch information
balupton committed Jan 2, 2012
2 parents 4f9194a + b913191 commit b020ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docpad.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ class Docpad

# Next
(err) =>
@pluginsArray.sort (a,b) -> a.priority < b.priority
@pluginsArray.sort (a,b) -> a.priority - b.priority
logger.log 'debug', "Plugins loaded for #{pluginsPath}"
next(err)
)
Expand Down

0 comments on commit b020ada

Please sign in to comment.