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

42_npmjs: fix setter

git-svn-id: https://svn.fhem.de/fhem/trunk@18446 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-01-29 12:42:13 +00:00
parent 72e4a8ff4c
commit e28c841a52

View File

@ -249,13 +249,13 @@ sub Set($$@) {
my ( $cmd, @args ) = @aa;
if ( $cmd eq 'outdated' ) {
return "usage: $cmd" if ( @args != 0 );
# return "usage: $cmd" if ( @args != 0 );
$hash->{".fhem"}{npm}{cmd} = $cmd;
}
elsif ( $cmd eq 'update' ) {
return "usage: $cmd" if ( @args != 0 );
# return "usage: $cmd" if ( @args != 0 );
$hash->{".fhem"}{npm}{cmd} = $cmd;