Wizard: remove else after return in firstboot

This commit is contained in:
Anna Vítová 2025-06-04 12:56:50 +02:00 committed by Anna Vítová
parent 548a87bb44
commit 85d8850dce

View file

@ -31,9 +31,13 @@ const detectScriptType = (scriptString: string): Language => {
if (path.includes('bin/bash') || path.includes('bin/sh')) {
return Language.shell;
} else if (path.includes('bin/python') || path.includes('bin/python3')) {
}
if (path.includes('bin/python') || path.includes('bin/python3')) {
return Language.python;
} else if (path.includes('ansible-playbook')) {
}
if (path.includes('ansible-playbook')) {
return Language.yaml;
}
}