Skip to content

Commit

Permalink
fixup! Fixes public directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
aliuk2012 committed Jun 19, 2019
1 parent f1f0361 commit b883c5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tasks/gulp/compile-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ const isDist = taskArguments.destination === 'dist' || false

// Set the destination
const destinationPath = function () {
if (taskArguments.destination === 'dist') {
return taskArguments.destination
} else if (taskArguments.destination === 'public') {
// Public & Dist directories do no need namespaced with `govuk`
if (taskArguments.destination === 'dist' || taskArguments.destination === 'public') {
return taskArguments.destination
} else {
return `${taskArguments.destination}/govuk/`
Expand Down

0 comments on commit b883c5d

Please sign in to comment.