You've already forked joplin
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:
@ -211,4 +211,12 @@ utils.getFilename = (path) => {
|
||||
return splitted.join('.');
|
||||
};
|
||||
|
||||
utils.msleep = (ms) => {
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(() => {
|
||||
resolve();
|
||||
}, ms);
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = utils;
|
||||
|
Reference in New Issue
Block a user