Skip to content

Commit

Permalink
fix(scripts): fix lint errors in the install script
Browse files Browse the repository at this point in the history
  • Loading branch information
watilde committed Aug 5, 2017
1 parent cf13f4b commit e9306e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/install.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const exec = require('child_process').exec
const execFile = require('child_process').execFile
const path = require('path')
const fs = require('fs')
const execPath = process.execPath
Expand All @@ -8,7 +7,7 @@ const nodeModules = path.join(execPath, '../../lib/node_modules/dep')
const datNode = path.join(nodeModules, 'node_modules/dat-node')
const repository = 'https://github.com/watilde/dep.git'
const bin = path.join(nodeModules, 'bin/dep.js')
const nodeGyp = reuqire(path.join(nodeModules, 'lib/utils/node-gyp'))
const nodeGyp = require(path.join(nodeModules, 'lib/utils/node-gyp'))

process.stdout.write(
'exec: git' + [' clone', repository, nodeModules].join(' ') + '\n'
Expand Down

0 comments on commit e9306e6

Please sign in to comment.