Skip to content

Commit e290eff

Browse files
author
William Blankenship
authored
Merge pull request #81 from retrohacker/issue78Webpack
Issue78 webpack
2 parents 2d96f47 + 1ca442c commit e290eff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ var async = require('async')
55
var distros = require('./os.json')
66
var fs = require('fs')
77
var os = require('os')
8-
var path = require('path')
98

109
/**
1110
* Begin definition of globals.
@@ -121,7 +120,7 @@ function getName (candidate) {
121120
* Loads a custom logic module to populate additional distribution information
122121
*/
123122
function customLogic (os, name, file, cb) {
124-
var logic = path.join(__dirname, 'logic/' + name + '.js')
123+
var logic = './logic/' + name + '.js'
125124
try { require(logic)(os, file, cb) } catch (e) { cb(null, os) }
126125
}
127126

0 commit comments

Comments
 (0)