codify-plugin-lib 1.0.120 → 1.0.121
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/plugin/plugin.js +1 -1
- package/package.json +1 -1
- package/src/plugin/plugin.ts +1 -1
package/dist/plugin/plugin.js
CHANGED
|
@@ -101,7 +101,7 @@ export class Plugin {
|
|
|
101
101
|
// Validate using desired/desired. If the apply was successful, no changes should be reported back.
|
|
102
102
|
// Default back desired back to current if it is not defined (for destroys only)
|
|
103
103
|
const validationPlan = await ptyLocalStorage.run(new BackgroundPty(), async () => {
|
|
104
|
-
const result = await resource.plan(plan.desiredConfig ?? plan.currentConfig, plan.
|
|
104
|
+
const result = await resource.plan(plan.desiredConfig, plan.desiredConfig ?? plan.currentConfig, plan.statefulMode);
|
|
105
105
|
await getPty().kill();
|
|
106
106
|
return result;
|
|
107
107
|
});
|
package/package.json
CHANGED
package/src/plugin/plugin.ts
CHANGED
|
@@ -155,8 +155,8 @@ export class Plugin {
|
|
|
155
155
|
// Default back desired back to current if it is not defined (for destroys only)
|
|
156
156
|
const validationPlan = await ptyLocalStorage.run(new BackgroundPty(), async () => {
|
|
157
157
|
const result = await resource.plan(
|
|
158
|
-
plan.desiredConfig ?? plan.currentConfig,
|
|
159
158
|
plan.desiredConfig,
|
|
159
|
+
plan.desiredConfig ?? plan.currentConfig,
|
|
160
160
|
plan.statefulMode
|
|
161
161
|
);
|
|
162
162
|
|