File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- var util = require ( 'util' ) ;
21var utils = require ( 'loader-utils' ) ;
32var sass = require ( 'node-sass' ) ;
43var path = require ( 'path' ) ;
54var sassGraph = require ( 'sass-graph' ) ;
65
7-
86module . exports = function ( content ) {
97 this . cacheable ( ) ;
108 var callback = this . async ( ) ;
@@ -13,7 +11,7 @@ module.exports = function (content) {
1311 opt . data = content ;
1412
1513 // skip empty files, otherwise it will stop webpack, see issue #21
16- if ( opt . data . trim ( ) == '' ) {
14+ if ( opt . data . trim ( ) = == '' ) {
1715 return callback ( null , content ) ;
1816 }
1917
@@ -36,7 +34,7 @@ module.exports = function (content) {
3634 graph . visitDescendents ( this . resourcePath , function ( imp ) {
3735 this . addDependency ( imp ) ;
3836 } . bind ( this ) ) ;
39- } catch ( err ) {
37+ } catch ( err ) {
4038 this . emitError ( err ) ;
4139 }
4240 } . bind ( this ) ;
You can’t perform that action at this time.
0 commit comments