cli: Use pascal case for anchor shell workspace (#319)
This commit is contained in:
parent
dd64779273
commit
b1dbf7c5bf
|
@ -228,7 +228,7 @@ anchor.setProvider(provider);
|
|||
r#"
|
||||
anchor.workspace.{} = new anchor.Program({}, new PublicKey("{}"), provider);
|
||||
"#,
|
||||
program.name,
|
||||
program.name.to_camel_case(),
|
||||
serde_json::to_string(&program.idl)?,
|
||||
program.program_id.to_string()
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue