Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
fix(installer): load node patches earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Dec 3, 2018
1 parent 68e301d commit 6f28969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/installer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
'use strict'

// Load node patches
require('./node/index.js')

const BB = require('bluebird')

const {
Expand All @@ -24,9 +27,6 @@ const mkdirp = BB.promisify(require('mkdirp'))
const rimraf = BB.promisify(require('rimraf'))
const { spawn } = require('child_process')

// Load node patches
require('./node/index.js')

const readFileAsync = BB.promisify(fs.readFile)
const realpathAsync = BB.promisify(fs.realpath)
const statAsync = BB.promisify(fs.stat)
Expand Down

0 comments on commit 6f28969

Please sign in to comment.