From c05e377d168b6fe9869097f97cfdadf0e267324c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 11 Nov 2020 16:37:47 +0100 Subject: [PATCH] :bug: Fix unexpected issues on gulpfile. --- frontend/.nvmrc | 2 +- frontend/gulpfile.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/.nvmrc b/frontend/.nvmrc index 605427f4a..55d178216 100644 --- a/frontend/.nvmrc +++ b/frontend/.nvmrc @@ -1 +1 @@ -v12.18.3 \ No newline at end of file +v14.15.0 diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 4f4043703..4e12b670d 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -46,7 +46,7 @@ function scssPipeline(options) { const touch = (_path) => { return new Promise((resolve, reject) => { - return fs.utimes(file.path, new Date(), new Date(), () => { + return fs.utimes(_path, new Date(), new Date(), () => { resolve(_path); }); }) @@ -78,7 +78,7 @@ function scssPipeline(options) { .then(() => render(input)) .then((res) => postprocess(res, input, output)) .then(async (res) => { - await write(output, res); + await write(output, res.css); await touch(output); return res; })