Skip to content

Commit c4b2c5e

Browse files
committed
update test
1 parent 18006f8 commit c4b2c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc_lib/src/dscresources/command_resource.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub fn invoke_set(resource: &ResourceManifest, cwd: &str, desired: &str, skip_te
121121
}
122122
};
123123

124-
if in_desired_state {
124+
if in_desired_state && execution_type == &ExecutionKind::Actual {
125125
return Ok(SetResult::Resource(ResourceSetResponse{
126126
before_state: serde_json::from_str(desired)?,
127127
after_state: actual_state,

0 commit comments

Comments
 (0)