File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ var watchPromisesChain = Promise.resolve();
1010
1111function convert ( logger , projectDir , appDir , options ) {
1212 options = options || { } ;
13- var sassPath = getSassPath ( ) ;
13+ var sassPath = getSassPath ( logger ) ;
1414 var data = {
1515 sassPath,
1616 projectDir,
@@ -48,12 +48,10 @@ function createWatcher(data) {
4848 } ) ;
4949}
5050
51- function getSassPath ( ) {
51+ function getSassPath ( logger ) {
5252 var sassPath = require . resolve ( 'node-sass/bin/node-sass' ) ;
5353 if ( fs . existsSync ( sassPath ) ) {
54- try {
55- logger . info ( 'Found peer node-sass' ) ;
56- } catch ( err ) { }
54+ logger . info ( 'Found peer node-sass' ) ;
5755 } else {
5856 throw new Error ( 'node-sass installation local to project was not found. Install by executing `npm install node-sass`.' ) ;
5957 }
You can’t perform that action at this time.
0 commit comments