Permalink
Browse files

Fix weird language detection

  • Loading branch information...
jlafitte committed Sep 23, 2013
1 parent 0afb32b commit ea51535cf743430754b3cc618232547c55ae5189
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
@@ -31,7 +31,7 @@ define(function (require, exports, module) {
function isCSSDoc(fileEntry) {
var language = LanguageManager.getLanguageForPath(fileEntry);
// Maybe in the future LESS
- return (language === "css" || language === "sass");
+ return (language.getId() === "css" || language.getId() === "sass");
}
function _handleLint() {

0 comments on commit ea51535

Please sign in to comment.