1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-03 23:50:33 +02:00

Tools: Trying to make encodeAssets script more robust on CI

This commit is contained in:
Laurent Cozic
2022-10-14 11:05:21 +01:00
parent 1fe6910089
commit bec97d6a42
2 changed files with 47 additions and 18 deletions

View File

@ -211,4 +211,12 @@ utils.getFilename = (path) => {
return splitted.join('.');
};
utils.msleep = (ms) => {
return new Promise((resolve) => {
setTimeout(() => {
resolve();
}, ms);
});
};
module.exports = utils;