Skip to content

Commit 0a879c5

Browse files
committed
properly check if the language is golang
1 parent ba9417d commit 0a879c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ fn override_configuration(mut config: Config, options: &Args) -> anyhow::Result<
257257
config.go.package = go_package.to_string();
258258
}
259259

260-
if let Some(go_lang) = options.language {
260+
if let Some(AvailableLanguage::Go) = options.language {
261261
assert_go_package_present(&config)?;
262262
}
263263
}

0 commit comments

Comments
 (0)