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:
parent
249dba206b
commit
b07faa6b51
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user