Skip to content

Commit

Permalink
Merge pull request #1496 from alphagov/ldeb-make-build-not-quiet
Browse files Browse the repository at this point in the history
Make sure that generateAssetsSync logs when user is running kit
  • Loading branch information
lfdebrux authored Aug 2, 2022
2 parents b5bfc7e + b541f7e commit 735e393
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/build/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ const libSassOptions = {
}
}

function generateAssetsSync ({ verbose = false } = {}) {
function generateAssetsSync ({ verbose } = {}) {
verbose = verbose || !(process.env.NODE_ENV === 'test')

clean()
sassExtensions()

Expand Down

0 comments on commit 735e393

Please sign in to comment.