1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-07-03 14:36:38 -04:00

allow binaries in vendor folder to be cached

aka: don't delete binaries in node_modules folder, since they shouldn't change anyways (unless the package is also updated)
This commit is contained in:
2020-02-18 17:40:51 -05:00
parent 434a6865cf
commit 6c87e415dc
10 changed files with 3588 additions and 129 deletions

View File

@ -14,7 +14,10 @@ it('Hugo exists and runs?', () => {
// Print additional build environment variables if check successful
if (works) {
execFile(hugoBin, ['env'], (error, stdout) => {
if (error) throw error;
if (error) {
throw error;
}
console.log(stdout);
});
}