From b9696ebe0e35cb1a6038eb3ff2499a81ebd5060b Mon Sep 17 00:00:00 2001 From: Francisco Alvarez Date: Wed, 19 Jan 2022 16:02:09 -0300 Subject: [PATCH] add case condition for drupal 9 Add new case condition for drupal 9 in drupalPath() function. --- lib/drupal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/drupal.js b/lib/drupal.js index 20a8ec6f..28596a7c 100644 --- a/lib/drupal.js +++ b/lib/drupal.js @@ -58,6 +58,7 @@ module.exports = function(grunt) { module.drupalPath = function(type) { switch (module.majorVersion()) { case 8: + case 9: return path.join(grunt.config('config.buildPaths.html'), type); case 7: default: