Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 710905e

Browse files
Move require NPM into conditional
1 parent a45b18e commit 710905e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: postinstall.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
var npm = require('npm');
2-
31
if (process.env.INSTALL_FUELUX_MCTHEME_BOWER === 'true') {
42
require("bower").commands.install();
53
}
64

75
if (process.env.INSTALL_FUELUX_MINIMAL_LIGHTNING === 'true' && process.env.MACHINE_USER_OAUTH) {
6+
var npm = require('npm');
7+
88
npm.load(function(err) {
99
// install module ffi
1010
npm.commands.install(['git+https://' + process.env.MACHINE_USER_OAUTH + ':[email protected]/exacttarget/fuelux-minimal-lightning.git'], function(er, data) {

0 commit comments

Comments
 (0)