Skip to content

Commit

Permalink
Merge pull request #1101 from tomgreenfield/issue/991
Browse files Browse the repository at this point in the history
Fix schema-defaults Grunt task
  • Loading branch information
moloko authored Jun 22, 2016
2 parents 552a262 + e55df39 commit bbded7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grunt/config/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
},
courseJson: {
files: ['<%= sourcedir %>course/**/*.json'],
tasks : ['jsonlint', 'check-json', 'copy:courseJson']
tasks : ['jsonlint', 'check-json', 'copy:courseJson', 'schema-defaults']
},
courseAssets: {
files: ['<%= sourcedir %>course/**/*', '!<%= sourcedir %>course/**/*.json'],
Expand Down
2 changes: 1 addition & 1 deletion grunt/tasks/schema-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function(grunt) {
var currentPluginPath = path;

// if specific plugin has been specified with grunt.option, don't carry on
if(Helpers.isPluginIncluded(path, path)) return;
if (!Helpers.isPluginIncluded(path)) return;

var currentSchemaPath = currentPluginPath + "/" + "properties.schema";
var currentBowerPath = currentPluginPath + "/" + "bower.json";
Expand Down

0 comments on commit bbded7f

Please sign in to comment.