File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ use serde::Serialize;
5
5
/// The Schema based on which the devcontainer.json file is generated.
6
6
/// For a complete documentation see: https://containers.dev/implementors/json_reference/
7
7
#[ derive( Serialize ) ]
8
+ #[ serde( rename_all = "camelCase" ) ]
8
9
pub struct DevContainer {
9
10
/// The name for the Dev Container
10
11
name : String ,
11
12
/// The docker image that will be used to create the container.
12
13
image : String ,
13
14
/// The username of the non-root user
14
- remoteUser : & ' static str ,
15
+ remote_user : & ' static str ,
15
16
/// The customizations applied to the container
16
17
customizations : Customizations ,
17
18
}
@@ -47,7 +48,7 @@ impl From<NiksiConfig> for DevContainer {
47
48
. course_code
48
49
. map ( |c| format ! ( " ({c})" ) )
49
50
. unwrap_or_default ( ) ,
50
- remoteUser : "niksi" ,
51
+ remote_user : "niksi" ,
51
52
customizations : Customizations {
52
53
vscode : VSCode {
53
54
extensions : config. vscode_extensions ,
You can’t perform that action at this time.
0 commit comments