Skip to content

Commit

Permalink
make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Oct 5, 2021
1 parent 334820c commit 0cc710e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/lib/y2users/users_module/commit_config_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def update_user(user, collection)
end

config.remove_home = user["delete_home"]

nil
end

# Generates a commit config from the given user
Expand Down
4 changes: 2 additions & 2 deletions test/lib/y2users/users_module/commit_config_reader_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"type" => "local",
"uid" => "test6",
"uidNumber" => 1001,
"userPassword" => "$6$jap/4cvK4.veohli$0JPqLC3sheKRTv79PoiW1fBtbudBad04hWKrUdfOMyzAt" \
"userPassword" => "$6$jap/4cvK4.veohli$0JPqLC3sheKRTv79PoiW1fBtbudBad04hWKrUdfOMyz" \
"VoGCUZ1KZivJqq1bIFUlJUJPXIbwFOqxNU1wrpZ8/",
"what" => "delete_user"
},
Expand All @@ -102,7 +102,7 @@
"type" => "local",
"uid" => "test2",
"uidNumber" => 1002,
"userPassword" => "!$6$yRZunFQ0DSZghYQ4$7K2cLQ/XrhucUZr4btKmUbfMuUmbDmRX7msfs6VQGKEf" \
"userPassword" => "!$6$yRZunFQ0DSZghYQ4$7K2cLQ/XrhucUZr4btKmUbfMuUmbDmRX7msfs6VQGK" \
"b2nkrbNn0c2d3mNmG.MGfFgmYyv.540Yaq2GtpVaK1",
"what" => "delete_user"
}
Expand Down

0 comments on commit 0cc710e

Please sign in to comment.