diff options
author | anekos | 2010-08-05 16:00:37 +0000 |
---|---|---|
committer | anekos | 2010-08-05 16:00:37 +0000 |
commit | b9a96778f31d53d7c7e3b352d7fb02cac3165d6d (patch) | |
tree | 508d6fcac463011e4b0b4689dfafc8a688a22bb1 /twittperator.js | |
parent | e27c2ea6a1a17c6b0e1008bf5bacafda15f5a1f3 (diff) | |
download | vimperator-plugins-b9a96778f31d53d7c7e3b352d7fb02cac3165d6d.tar.bz2 |
非サブコマンドの時にコンソールに無駄なエラーが出るのチェック
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38189 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-x | twittperator.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js index 4ef5b65..ce7f7bb 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1574,7 +1574,8 @@ function loadPlugins() { // {{{ if (args.bang) { let [subCmd] = findSubCommand(arg); - subCmd.action(args); + if (subCmd) + subCmd.action(args); } else { if (arg.length === 0) showFollowersStatus(); |