Change resetAntivirusEnabledToDefault to private function
Make resetAntivirusEnabledToDefault private to limit scope.
This commit is contained in:
parent
2d954a4c4c
commit
a5fbe90ff2
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ export function setAntivirusEnabled(enabled: boolean): void {
|
|||
|
||||
/**
|
||||
* Useful if env / configuration changes at runtime (tests, hot reload).
|
||||
* Not exported because it is not used externally (keeps knip clean).
|
||||
*/
|
||||
export function resetAntivirusEnabledToDefault(): void {
|
||||
function resetAntivirusEnabledToDefault(): void {
|
||||
antivirusEnabled = CLAMAV_CONFIGURED ? ANTIVIRUS_ENABLED_DEFAULT : false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue