Fix input validation

This commit is contained in:
Luc Perkins 2024-05-23 15:42:03 -03:00
parent 0c1dd1090d
commit c7eb3f32c9
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
3 changed files with 3 additions and 2 deletions

View file

@ -104,6 +104,7 @@ class UpdateFlakeLockAction extends DetSysAction {
if (
this.flakeDirs !== null &&
this.flakeDirs.length > 0 &&
this.pathToFlakeDir !== null &&
this.pathToFlakeDir !== ""
) {
// TODO: improve this error message