Skip to content

Commit

Permalink
include in-memory docs correctly when linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsanjose committed Mar 4, 2015
1 parent 99b6720 commit 665fd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ define(function (require, exports, module) {
// If the promise is resolved, errors were cached when the file was
// compiled as a partial.
if (errorPromise.state() === "pending") {
docs = docs.unshift(DocumentManager.getOpenDocumentForPath(path));
docs.unshift(DocumentManager.getOpenDocumentForPath(path));
Compiler.preview(inputFile, docs);
}

Expand Down

0 comments on commit 665fd07

Please sign in to comment.