You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/src/models.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ impl Payload {
171
171
continue;
172
172
}
173
173
if !util::is_valid_version(ver){
174
-
println!("Warning: file `{file_name}` will be skipped because its version (`{ver}`) is invalid");
174
+
println!("Warning: file `{file_name}` will be skipped because its version (`{ver}`) is invalid. It should be have the format `major.minor.patch`.");
175
175
continue;
176
176
}
177
177
@@ -190,11 +190,11 @@ impl Payload {
190
190
continue;
191
191
}
192
192
if !util::is_valid_version(from_ver){
193
-
println!("Warning: file `{file_name}` will be skipped because its from version(`{from_ver}`) is invalid.");
193
+
println!("Warning: file `{file_name}` will be skipped because its from version(`{from_ver}`) is invalid. It should be have the format `major.minor.patch`.");
194
194
continue;
195
195
}
196
196
if !util::is_valid_version(to_ver){
197
-
println!("Warning: file `{file_name}` will be skipped because its from version(`{to_ver}`) is invalid.");
197
+
println!("Warning: file `{file_name}` will be skipped because its from version(`{to_ver}`) is invalid. It should be have the format `major.minor.patch`.");
0 commit comments