We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537d6f8 commit b96facdCopy full SHA for b96facd
1 file changed
rust/modal/src/cmds/contract/pull.rs
@@ -198,6 +198,11 @@ pub async fn run(opts: &Opts) -> Result<()> {
198
}
199
200
201
+ // Reconstruct state/rules files from commits
202
+ if !pulled_ids.is_empty() {
203
+ store.checkout_state()?;
204
+ }
205
+
206
if opts.output == "json" {
207
println!("{}", serde_json::to_string_pretty(&json!({
208
"status": "pulled",
@@ -312,6 +317,9 @@ async fn clone_from_url(url: &str, opts: &Opts) -> Result<()> {
312
317
store.set_head(head)?;
313
318
store.set_remote_head(&opts.remote_name, head)?;
314
319
320
321
322
315
323
316
324
325
"status": "cloned",
0 commit comments