mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix unexpected issues on gulpfile.
This commit is contained in:
@@ -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;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user