Skip to content

Commit

Permalink
Fix tests on node 12
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSurgisonGDS authored and lfdebrux committed May 18, 2022
1 parent 1ff2e04 commit dda0e63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions run-tasks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const colour = require('nodemon/lib/utils/colour')
const del = require('del')

function runTasks () {
clean()
Expand All @@ -20,9 +21,7 @@ function generateAssets () {

function clean () {
// doesn't clean extensions.scss, should it?
const fs = require('fs')
fs.rmSync('public', { recursive: true, force: true })
fs.rmSync('.port.tmp', { force: true })
del.sync(['public/**', '.port.tmp'])
}

function sassExtensions () {
Expand Down

0 comments on commit dda0e63

Please sign in to comment.