Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Do as @AlbertoElias instructs: 'removed from scss-lint, and you can p…
Browse files Browse the repository at this point in the history
…robably remove the getMainSassPath and JsPath from the files helper'
  • Loading branch information
matthew-andrews committed Dec 15, 2014
1 parent d1224ee commit 3397893
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/tasks/verify.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

var files = require('../helpers/files');
var log = require('../helpers/log');
var path = require('path');
var fs = require('fs');
Expand Down Expand Up @@ -62,10 +61,6 @@ function pathsToGlob(paths) {
*/
module.exports.scssLint = function(gulp, config) {
config = config || {};
if (!config.sass && !files.getMainSassPath()) {
log.secondaryError('No main.scss');
return;
}
var configPath = config.scssLintPath || path.join(__dirname, '/../../config/scss-lint.yml');

return gulp.src(['**/*.scss'].concat(excludeFiles))
Expand Down

0 comments on commit 3397893

Please sign in to comment.