Skip to content

Commit

Permalink
Merge pull request #1673 from notmessenger/Issue1672
Browse files Browse the repository at this point in the history
Closes #1672
  • Loading branch information
notmessenger committed Apr 25, 2016
2 parents 18a1509 + 7dac8fb commit 149ccda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ module.exports = {
var vendorTree = tree;

if ( !this.isAddon() && !isLessAddonInstalled ) {
var folder = ( Number( process.version.match( /^v(\d+)/ )[1] ) >= 5 ) ? this.name : '../';

var compiledLessTree = compileLess(
new Funnel( path.join( this.nodeModulesPath, '../', 'app' ) ),
new Funnel( path.join( this.nodeModulesPath, folder, 'app' ) ),
'styles/' + this.name + '.less',
this.getCssFileName(), {
modifyVars: {
Expand Down

0 comments on commit 149ccda

Please sign in to comment.