Skip to content

Commit

Permalink
Fix husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Boult committed Mar 19, 2020
1 parent 5b15bf8 commit 0e9864b
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 149 deletions.
6 changes: 2 additions & 4 deletions examples/us.js → debug.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

/* eslint-disable */
// TODO: merge this into one file onl
// TODO: add all calls from EU and CA

const config = require('../config.json');
const BlueLinky = require('../dist/index');
const BlueLinky = require('./dist/index');
const inquirer = require('inquirer');


const apiCalls = [
{ name: 'exit', value: 'exit' },
{ name: 'start', value: 'start' },
Expand Down Expand Up @@ -82,7 +81,6 @@ function askForCommandInput() {
});
}


async function performCommand(command) {
try {
switch (command) {
Expand Down
235 changes: 92 additions & 143 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
"pre-commit": "npm run lint"
}
},
"homepage": "https://github.com/Hacksore/bluelinky",
Expand Down

0 comments on commit 0e9864b

Please sign in to comment.