mod/direnv: fix fn name

This commit is contained in:
Dmitriy Pleshevskiy 2024-03-19 17:53:03 +03:00
parent 747b5c642b
commit 1eb140cbcc
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -25,7 +25,7 @@ pub struct DirenvModuleArgs {
pub nodejs: bool,
}
fn make_gitignore_content(args: DirenvModuleArgs) -> String {
fn make_envrc_content(args: DirenvModuleArgs) -> String {
[
args.nix.map(|function| {
format!(
@ -52,6 +52,6 @@ impl Module for DirenvModule {
type ModuleArgs = DirenvModuleArgs;
fn make(&self, args: Self::ModuleArgs) -> HashMap<String, String> {
HashMap::from([(String::from(".envrc"), make_gitignore_content(args))])
HashMap::from([(String::from(".envrc"), make_envrc_content(args))])
}
}