We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e90d4d8 commit 3abf1f0Copy full SHA for 3abf1f0
1 file changed
bin/manage_users
@@ -108,6 +108,10 @@ if (opts.length === 0) {
108
if (opts.length > 1) {
109
showUsage(`You cannot ${action.join(' and ')} at the same time!`);
110
}
111
+// Check if not string
112
+if (typeof argv[action] !== 'string') {
113
+ showUsage(`You must follow an email after --${action}`);
114
+}
115
116
// Call respective processing functions
117
options[action](argv).then(function() {
0 commit comments