fix: 🚑 gpg signed badge

This commit is contained in:
Lucas Colombo
2024-04-11 19:28:55 -03:00
parent 67b639832e
commit 131a9965b3
8 changed files with 302 additions and 43 deletions

View File

@ -13,7 +13,7 @@ const srcPath = resolve(cwd(), src);
const distPath = resolve(cwd(), dist);
const serverPath = resolve(
cwd(),
getArg('--server', 'd:/gitea')
getArg('--server', 'd:/users/lucas/Desktop/dev/server/gitea')
);
logger.info('Deploy started!');

View File

@ -13,7 +13,7 @@ const srcPath = resolve(cwd(), src);
const distPath = resolve(cwd(), dist);
const serverPath = resolve(
cwd(),
getArg('--server', 'd:/gitea')
getArg('--server', 'd:/users/lucas/Desktop/dev/server/gitea')
);
const debouncer = new TaskDebouncer(300);
const logger = new Logger('serve', 'info', 'brightMagenta');

View File

@ -1,7 +1,7 @@
/**
* #### TaskDebouncer
*
* Executes a task after a certain delay, but cancels the execution if
*
* Executes a task after a certain delay, but cancels the execution if
* a new task is sent before the delay expires. Also, if a task is
* already being executed, the new task is queued and executed after
* the current one finishes. It will only execute the task that was
@ -41,7 +41,7 @@ export class TaskDebouncer {
this.#setProcessing(false);
// continue with the next task
this.#continue();
this.#continue();
}
#continue() {
@ -55,7 +55,7 @@ export class TaskDebouncer {
* the new task is queued and executed after the current one finishes.
* It will only execute the task if no other task is sent before the
* delay expires or before the current task finishes.
*
*
* IOW, it will only execute the task that was sent last.
*/
add(executor, ...args) {