mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
builders: update yarn builder
This commit is contained in:
@@ -44,6 +44,15 @@ const yarnBuildTask = {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const resourcePath = GetResourcePath(resourceName);
|
||||||
|
const yarnLock = path.resolve(resourcePath, 'yarn.lock');
|
||||||
|
|
||||||
|
try {
|
||||||
|
fs.utimesSync(yarnLock, new Date(), new Date());
|
||||||
|
} catch (e) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
cb(true);
|
cb(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user