File tree Expand file tree Collapse file tree 4 files changed +43
-28
lines changed Expand file tree Collapse file tree 4 files changed +43
-28
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## ScriptX [ v0.4.8] ( https://github.com/JoelMon/scriptx/releases/tag/v0.4.7 ) (2022-01-05)
4
+ - Removed period after an error message. Periods should not be used in error strings.
5
+ - Updated dependencies
6
+ - Updating ansi_term v0.11.0 -> v0.12.1
7
+ - Updating clap v2.33.3 -> v2.33.4
8
+ - Updating itoa v0.4.8 -> v1.0.1
9
+ - Updating libc v0.2.107 -> v0.2.112
10
+ - Updating once_cell v1.8.0 -> v1.9.0
11
+ - Updating proc-macro2 v1.0.32 -> v1.0.36
12
+ - Updating quote v1.0.10 -> v1.0.14
13
+ - Updating ryu v1.0.5 -> v1.0.9
14
+ - Updating serde v1.0.130 -> v1.0.133
15
+ - Updating serde_derive v1.0.130 -> v1.0.133
16
+ - Updating serde_json v1.0.71 -> v1.0.74
17
+ - Updating syn v1.0.81 -> v1.0.84
18
+
3
19
## ScriptX [ v0.4.7] ( https://github.com/JoelMon/scriptx/releases/tag/v0.4.7 ) (2021-11-18)
4
20
- Updated dependencies
5
21
- Updating bitflags v1.2.1 -> v1.3.2
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " scriptx"
3
- version = " 0.4.7 "
3
+ version = " 0.4.8 "
4
4
authors = [" Joel Montes de Oca" ]
5
5
homepage = " https://joelmon.github.io/scriptx/"
6
6
documentation = " https://github.com/JoelMon/scriptx/"
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ impl Root {
203
203
return i. id ;
204
204
}
205
205
}
206
- panic ! ( "The verse was not found. " ) ;
206
+ panic ! ( "The verse was not found" ) ;
207
207
}
208
208
209
209
/// Returns a tuple of the *start* and *end* time for the chapter in which the *id* has been provided for.
@@ -233,7 +233,6 @@ impl Root {
233
233
with the verse the user wants.
234
234
*/
235
235
fn get_prefix ( & self ) -> & str {
236
- // let last_chapter = *&self.chapters.last().unwrap();
237
236
let title = self . get_last_chapter ( ) . tags . title . as_str ( ) ;
238
237
239
238
let pattern = Regex :: new ( r"(^[\s\S]*:)" ) . unwrap ( ) ; // Regular expression to find the prefix (ig. 'Joel 1:') of a `title`. See https://regexr.com/5vus6
You can’t perform that action at this time.
0 commit comments