summaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/drop.rs2
-rw-r--r--src/cmd/drop/init.rs2
-rw-r--r--src/cmd/id.rs2
-rw-r--r--src/cmd/id/init.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/drop.rs b/src/cmd/drop.rs
index 208dbd6..8051253 100644
--- a/src/cmd/drop.rs
+++ b/src/cmd/drop.rs
@@ -195,7 +195,7 @@ impl TryFrom<Editable> for metadata::Drop {
}
Ok(Self {
- spec_version: crate::SPEC_VERSION,
+ fmt_version: Default::default(),
description,
prev: None,
roles,
diff --git a/src/cmd/drop/init.rs b/src/cmd/drop/init.rs
index b843255..a1c5025 100644
--- a/src/cmd/drop/init.rs
+++ b/src/cmd/drop/init.rs
@@ -121,7 +121,7 @@ pub fn init(args: Init) -> cmd::Result<Output> {
let default_branch = cfg::git::default_branch(&cfg)?;
metadata::Drop {
- spec_version: crate::SPEC_VERSION,
+ fmt_version: Default::default(),
description: args.description,
prev: None,
custom: Default::default(),
diff --git a/src/cmd/id.rs b/src/cmd/id.rs
index 7504489..57e79b0 100644
--- a/src/cmd/id.rs
+++ b/src/cmd/id.rs
@@ -176,7 +176,7 @@ impl TryFrom<Editable> for metadata::Identity {
ensure!(!keys.is_empty(), "keys cannot be empty");
Ok(Self {
- spec_version: crate::SPEC_VERSION,
+ fmt_version: Default::default(),
prev: None,
keys,
threshold,
diff --git a/src/cmd/id/init.rs b/src/cmd/id/init.rs
index a0ed119..35d3bb8 100644
--- a/src/cmd/id/init.rs
+++ b/src/cmd/id/init.rs
@@ -148,7 +148,7 @@ pub fn init(args: Init) -> cmd::Result<Output> {
let meta = {
let id = metadata::Identity {
- spec_version: crate::SPEC_VERSION,
+ fmt_version: Default::default(),
prev: None,
keys,
threshold,