Skip to content

Commit

Permalink
Consistent function style
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Oct 25, 2019
1 parent f880316 commit e47808b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/cmds/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const version = require('../../package.json').version;
const utils = require('../utils');

exports.command = 'deploy';

exports.describe = 'Deploys statickit.json';

exports.builder = yargs => {
Expand Down
4 changes: 2 additions & 2 deletions src/cmds/forms.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
exports.command = 'forms <command>';
exports.desc = 'Helpers for managing forms';
exports.builder = function(yargs) {
exports.builder = yargs => {
return yargs.commandDir('forms_cmds');
};
exports.handler = function(argv) {};
exports.handler = _argv => {};
2 changes: 1 addition & 1 deletion src/cmds/forms_cmds/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports.builder = yargs => {
});
};

exports.handler = function(args) {
exports.handler = args => {
const config = utils.readConfig(args.file);
const forms = config.forms || (config.forms = {});
const coloredKey = chalk.cyan(`\`${args.key}\``);
Expand Down

0 comments on commit e47808b

Please sign in to comment.