Skip to content

Commit

Permalink
Fix function style
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Oct 25, 2019
1 parent ee4740e commit 74f5ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmds/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const utils = require('../utils');
exports.command = 'init';
exports.desc = 'Creates a statickit.json file';
exports.builder = {};
exports.handler = function(args) {
exports.handler = _args => {
fs.writeFile('statickit.json', '{}', { flag: 'wx' }, function(err) {
if (err) {
utils.logSuccess('statickit.json already exists');
Expand Down

0 comments on commit 74f5ff6

Please sign in to comment.