mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update shoutcut.js
This commit is contained in:
parent
220fe2c484
commit
c86c268a9d
|
@ -1,7 +1,7 @@
|
|||
var SHELL = require("lib/shell");
|
||||
var SYS = require("lib/system");
|
||||
|
||||
exports.main = function(args) {
|
||||
function main(args) {
|
||||
if (args.length < 1) {
|
||||
console.error("arguments could not be empty")
|
||||
return;
|
||||
|
@ -24,3 +24,5 @@ exports.main = function(args) {
|
|||
console.error("onShoutcut not defined");
|
||||
}
|
||||
};
|
||||
|
||||
exports.main = main;
|
||||
|
|
Loading…
Reference in New Issue
Block a user