Skip to content

Commit

Permalink
Fixed code errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vicalca committed Jul 24, 2019
1 parent f939671 commit f428728
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 64 deletions.
80 changes: 19 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
""
],
"dependencies": {
"chalk": "^2.4.2",
"clipboardy": "^1.2.3",
"conf": "^2.1.0",
"env-paths": "^2.2.0",
Expand Down
7 changes: 4 additions & 3 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
const meow = require('meow');
const clipboardy = require('clipboardy');
const envPaths = require('env-paths');

const paths = envPaths('standup-boy');
const fs = require('fs-extra')
const fs = require('fs-extra');
const chalk = require('chalk');
const config = require('./config');
const template = require('./template');
const replace = require('./replace');
const send = require('./send');
const prompt = require('./prompt');

const HISTORY_PATH = paths.data + "/history.log";
const HISTORY_PATH = paths.data + '/history.log';

const cli = meow(`
Usage
Expand Down Expand Up @@ -103,4 +104,4 @@ ${res}
`;
fs.ensureFileSync(HISTORY_PATH);
fs.appendFileSync(HISTORY_PATH, historyMsg);
}
}

0 comments on commit f428728

Please sign in to comment.