mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +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:
parent
72e4a8ff4c
commit
e28c841a52
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user