2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

42_npmjs: fix define parameters

git-svn-id: https://svn.fhem.de/fhem/trunk@18516 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-02-07 08:32:47 +00:00
parent 249dba206b
commit b07faa6b51

View File

@ -83,8 +83,6 @@ sub Define($$) {
my ( $hash, $def ) = @_;
my @a = split( "[ \t][ \t]*", $def );
return "too few parameters: define <name> npmjs [<HOST>]"
if ( @a != 2 );
return
"Cannot define npmjs device. Perl module ${missingModule} is missing."
if ($missingModule);