cli: Add final newline in templates (#420)

This commit is contained in:
Kirill Fomichev 2021-06-26 17:57:02 +03:00 committed by GitHub
parent 704b325491
commit b3ce642454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -102,7 +102,8 @@ module.exports = async function (provider) {
pub fn xargo_toml() -> &'static str {
r#"[target.bpfel-unknown-unknown.dependencies.std]
features = []"#
features = []
"#
}
pub fn lib_rs(name: &str) -> String {
@ -118,7 +119,8 @@ pub mod {} {{
}}
#[derive(Accounts)]
pub struct Initialize {{}}"#,
pub struct Initialize {{}}
"#,
name.to_snake_case(),
)
}