mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-06-05 21:59:36 +02:00
Auto-Backup $'Fri Oct 25 2024 01:20:39 GMT+0200 (Central European Summer Time)'
This commit is contained in:
@ -93,7 +93,13 @@ const ScriptAndGitBackup = async (folder, command, program='sh') => {
|
||||
await GitPullPush();
|
||||
};
|
||||
|
||||
const Work = async (job) => await within(Jobs[job]);
|
||||
const Work = async (jobName) => {
|
||||
const filterText = process.argv.slice(-1)[0];
|
||||
const isFilter = filterText.endsWith('_');
|
||||
if (!isFilter || (isFilter && jobName.startsWith(filterText))) {
|
||||
return await within(Jobs[jobName]);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
Reference in New Issue
Block a user