Skip to content

Commit a0114c8

Browse files
committed
fix function to account for current compiler bug
1 parent 57cdcc8 commit a0114c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gladvent/internal/cmd.gleam

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ pub fn exec(
7777
fn date() -> #(#(Int, Int, Int), #(Int, Int, Int))
7878

7979
fn current_year() -> Int {
80-
date().
81-
0.0
80+
let a = date().0
81+
a.0
8282
}
8383

8484
pub fn year_flag() {

0 commit comments

Comments
 (0)