Skip to content

Commit aa06a05

Browse files
fix(cli): fix code output of tauri plugin android init (#8810)
* Fix: code output of tauri plugin android init double quotes `"` wasn't matching in plugin android init command * change file
1 parent fb0d997 commit aa06a05

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:bug
3+
"@tauri-apps/cli": patch:bug
4+
---
5+
6+
Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.

tooling/cli/src/plugin/android.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {{
114114
Builder::new("{name}")
115115
.setup(|app, api| {{
116116
#[cfg(target_os = "android")]
117-
let handle = api.register_android_plugin("{identifier}, "ExamplePlugin")?;
117+
let handle = api.register_android_plugin("{identifier}", "ExamplePlugin")?;
118118
Ok(())
119119
}})
120120
.build()

0 commit comments

Comments
 (0)