Skip to content

Commit

Permalink
Merge branch 'fix/optional-dest-config'
Browse files Browse the repository at this point in the history
  • Loading branch information
krampstudio committed Nov 29, 2015
2 parents adfb6a8 + 6b54ab0 commit 594c953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/jsdoc-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = function jsDocTask(grunt) {
grunt.fail.warn('Wrong configuration', errorCode.generic);
}

if (!grunt.file.exists(params.destination)) {
if (!grunt.file.exists(params.destination) && !params.configure) {
grunt.file.mkdir(options.destination);
grunt.log.debug('create destination : ' + options.destination);
if (!grunt.file.exists(params.destination)) {
Expand Down

0 comments on commit 594c953

Please sign in to comment.