We planned to upgrade GitLab and Mattermost to the latest version this Friday morning (early). You may experience some downtime!

Verified Commit 22b422b4 authored by Camil Staps's avatar Camil Staps 🚀

Don't copy node_modules from clean-highlighter (only used for development)

parent 63a8c422
Pipeline #14535 failed with stage
in 54 seconds
......@@ -126,10 +126,12 @@ writeHTMLSite root site w
# assets = fromOk assets
# (_,w) = recursiveDelete root w
# (errs,w) = syncDirectory
(\fp fi ->
fi.directory ||
endsWith ".js" fp ||
endsWith ".css" fp)
(\fp fi
| endsWith "node_modules" fp -> False
| fi.directory -> True
| endsWith ".js" fp -> True
| endsWith ".css" fp -> True
| otherwise -> False)
assets root w
# (errs2,w) = mapSt (uncurry handle) site w
= (errs ++ flatten errs2,w)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment