@jayree/sfdx-plugin-org 1.2.13 → 1.2.15
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/CHANGELOG.md +17 -0
- package/README.md +6 -6
- package/lib/commands/jayree/org/configure/index.d.ts +1 -1
- package/lib/commands/jayree/org/configure/index.js +1 -1
- package/lib/commands/jayree/org/configure/index.js.map +1 -1
- package/lib/commands/jayree/org/configure/state.js +6 -5
- package/lib/commands/jayree/org/configure/state.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/renderer.js +4 -4
- package/oclif.lock +241 -186
- package/oclif.manifest.json +277 -185
- package/package.json +16 -14
package/lib/utils/renderer.js
CHANGED
|
@@ -23,7 +23,7 @@ export class MyDefaultRenderer {
|
|
|
23
23
|
this.events = events;
|
|
24
24
|
this.bottom = new Map();
|
|
25
25
|
this.cache = {
|
|
26
|
-
|
|
26
|
+
render: new Map(),
|
|
27
27
|
rendererOptions: new Map(),
|
|
28
28
|
rendererTaskOptions: new Map(),
|
|
29
29
|
};
|
|
@@ -248,8 +248,8 @@ export class MyDefaultRenderer {
|
|
|
248
248
|
return [];
|
|
249
249
|
}
|
|
250
250
|
// if this is already cached return the cache
|
|
251
|
-
if (this.cache.
|
|
252
|
-
return this.cache.
|
|
251
|
+
if (this.cache.render.has(task.id)) {
|
|
252
|
+
return this.cache.render.get(task.id);
|
|
253
253
|
}
|
|
254
254
|
this.calculate(task);
|
|
255
255
|
const rendererOptions = this.cache.rendererOptions.get(task.id);
|
|
@@ -403,7 +403,7 @@ export class MyDefaultRenderer {
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
if (task.isClosed()) {
|
|
406
|
-
this.cache.
|
|
406
|
+
this.cache.render.set(task.id, output);
|
|
407
407
|
this.reset(task);
|
|
408
408
|
}
|
|
409
409
|
return output;
|