Fix input validation

This commit is contained in:
Luc Perkins
2024-05-23 15:42:03 -03:00
parent 0c1dd1090d
commit c7eb3f32c9
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