querysub 0.244.0 → 0.245.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -391,6 +391,10 @@ const resyncServicesBase = runInSerial(measureWrap(async function resyncServices
|
|
|
391
391
|
for (let config of relevantConfigs) {
|
|
392
392
|
let matchedCount = config.machineIds.filter(id => id === machineId).length;
|
|
393
393
|
for (let i = 0; i < matchedCount; i++) {
|
|
394
|
+
let screenName = getScreenName({
|
|
395
|
+
serviceKey: config.parameters.key,
|
|
396
|
+
index: i,
|
|
397
|
+
});
|
|
394
398
|
|
|
395
399
|
let launchCount = launchesPerService.get(config.serviceId) || 0;
|
|
396
400
|
let lastLaunchedTime = lastLaunchedTimePerService.get(config.serviceId) || 0;
|
|
@@ -400,11 +404,7 @@ const resyncServicesBase = runInSerial(measureWrap(async function resyncServices
|
|
|
400
404
|
totalTimesLaunched: launchCount,
|
|
401
405
|
};
|
|
402
406
|
try {
|
|
403
|
-
let folder = root +
|
|
404
|
-
let screenName = getScreenName({
|
|
405
|
-
serviceKey: config.parameters.key,
|
|
406
|
-
index: i,
|
|
407
|
-
});
|
|
407
|
+
let folder = root + screenName + "/";
|
|
408
408
|
screenNamesUsed.add(screenName);
|
|
409
409
|
let gitFolder = folder + "git/";
|
|
410
410
|
await fs.promises.mkdir(gitFolder, { recursive: true });
|