Skip to content

Commit

Permalink
Just push latest changes to servers
Browse files Browse the repository at this point in the history
  • Loading branch information
themitosan committed Dec 25, 2024
1 parent 2bb97f1 commit 7a4f350
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/getReposFrom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function startUserFetch(urlBase:string){
const errorList:string[] = [];
if (fetchResult.length === 0 && repoChunk.length === 0) errorList.push(langDatabase.getReposFrom.errorNoReposAvailable);
if (fetchResult['status'] !== void 0 && fetchResult['status'].toString() === '404') errorList.push(fetchResult.status);

// Check if can continue
if (errorList.length === 0){

Expand Down
2 changes: 1 addition & 1 deletion src/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async function grpp_startBatchUpdate(){
startUpdateTime = structuredClone(performance.now());
if (module_fs.existsSync(tempDir) === !0) module_fs.rmSync(tempDir, { recursive: !0 });
module_fs.mkdirSync(tempDir);

// Split update list on given runners, create GRPP batch file and set total res files / queued repos vars
createLogEntry(`INFO - Creating update list...`);
const
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function grpp_getRepoInfo(path:string){
execReasonListCheck(reasonList, langDatabase.utils.getRepoInfo.errorUnableGetRepoInfo, function(){

// Get repo data
const
const
fullPath = Object.keys(grppSettings.repoEntries)[repoIndex!],
currentRepoData:grppRepoEntry = grppSettings.repoEntries[fullPath];
createLogEntry(grpp_convertLangVar(langDatabase.utils.getRepoInfo.repoData, [JSON.stringify(currentRepoData, void 0, 4)]));
Expand Down

0 comments on commit 7a4f350

Please sign in to comment.