@harness-engineering/core 0.10.0 → 0.10.1
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/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5327,6 +5327,7 @@ ${entry}`);
|
|
|
5327
5327
|
} else {
|
|
5328
5328
|
fs4.appendFileSync(learningsPath, entry);
|
|
5329
5329
|
}
|
|
5330
|
+
learningsCacheMap.delete(learningsPath);
|
|
5330
5331
|
return (0, import_types.Ok)(void 0);
|
|
5331
5332
|
} catch (error) {
|
|
5332
5333
|
return (0, import_types.Err)(
|
|
@@ -5406,6 +5407,7 @@ ${entry}`);
|
|
|
5406
5407
|
} else {
|
|
5407
5408
|
fs4.appendFileSync(failuresPath, entry);
|
|
5408
5409
|
}
|
|
5410
|
+
failuresCacheMap.delete(failuresPath);
|
|
5409
5411
|
return (0, import_types.Ok)(void 0);
|
|
5410
5412
|
} catch (error) {
|
|
5411
5413
|
return (0, import_types.Err)(
|
|
@@ -5473,6 +5475,7 @@ async function archiveFailures(projectPath, stream) {
|
|
|
5473
5475
|
counter++;
|
|
5474
5476
|
}
|
|
5475
5477
|
fs4.renameSync(failuresPath, path3.join(archiveDir, archiveName));
|
|
5478
|
+
failuresCacheMap.delete(failuresPath);
|
|
5476
5479
|
return (0, import_types.Ok)(void 0);
|
|
5477
5480
|
} catch (error) {
|
|
5478
5481
|
return (0, import_types.Err)(
|
package/dist/index.mjs
CHANGED
|
@@ -5132,6 +5132,7 @@ ${entry}`);
|
|
|
5132
5132
|
} else {
|
|
5133
5133
|
fs4.appendFileSync(learningsPath, entry);
|
|
5134
5134
|
}
|
|
5135
|
+
learningsCacheMap.delete(learningsPath);
|
|
5135
5136
|
return Ok(void 0);
|
|
5136
5137
|
} catch (error) {
|
|
5137
5138
|
return Err(
|
|
@@ -5211,6 +5212,7 @@ ${entry}`);
|
|
|
5211
5212
|
} else {
|
|
5212
5213
|
fs4.appendFileSync(failuresPath, entry);
|
|
5213
5214
|
}
|
|
5215
|
+
failuresCacheMap.delete(failuresPath);
|
|
5214
5216
|
return Ok(void 0);
|
|
5215
5217
|
} catch (error) {
|
|
5216
5218
|
return Err(
|
|
@@ -5278,6 +5280,7 @@ async function archiveFailures(projectPath, stream) {
|
|
|
5278
5280
|
counter++;
|
|
5279
5281
|
}
|
|
5280
5282
|
fs4.renameSync(failuresPath, path3.join(archiveDir, archiveName));
|
|
5283
|
+
failuresCacheMap.delete(failuresPath);
|
|
5281
5284
|
return Ok(void 0);
|
|
5282
5285
|
} catch (error) {
|
|
5283
5286
|
return Err(
|