mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 02:36:37 +02:00
🐛 Fix unexpected issues on gulpfile.
This commit is contained in:
parent
58585a6521
commit
c05e377d16
2 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
v12.18.3
|
v14.15.0
|
||||||
|
|
|
@ -46,7 +46,7 @@ function scssPipeline(options) {
|
||||||
|
|
||||||
const touch = (_path) => {
|
const touch = (_path) => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
return fs.utimes(file.path, new Date(), new Date(), () => {
|
return fs.utimes(_path, new Date(), new Date(), () => {
|
||||||
resolve(_path);
|
resolve(_path);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
@ -78,7 +78,7 @@ function scssPipeline(options) {
|
||||||
.then(() => render(input))
|
.then(() => render(input))
|
||||||
.then((res) => postprocess(res, input, output))
|
.then((res) => postprocess(res, input, output))
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
await write(output, res);
|
await write(output, res.css);
|
||||||
await touch(output);
|
await touch(output);
|
||||||
return res;
|
return res;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue