Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
lacymorrow committed Oct 8, 2019
1 parent 21a1ede commit 3a5d4b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function prettify(str) {
const setupCrosshairInput = () => {
// Crosshair select options
const crosshair = config.get('crosshair')
const pCrosshairs = new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
const crosshairs = []
fs.readdir(crosshairsPath, (err, dir) => {
if (err) reject(new Error(`Promise Errored: ${err}`, crosshairsPath))
Expand Down Expand Up @@ -111,7 +111,6 @@ const setupCrosshairInput = () => {
resolve(crosshairs)
})
})
return pCrosshairs
}

const setColor = color => {
Expand Down

0 comments on commit 3a5d4b2

Please sign in to comment.