mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-14 23:26:18 +00:00
11 lines
290 B
JavaScript
11 lines
290 B
JavaScript
|
'use strict'
|
||
|
var path = require('path')
|
||
|
var validate = require('aproba')
|
||
|
var moduleName = require('../utils/module-name.js')
|
||
|
|
||
|
module.exports = childPath
|
||
|
function childPath (parentPath, child) {
|
||
|
validate('SO', arguments)
|
||
|
return path.join(parentPath, 'node_modules', moduleName(child))
|
||
|
}
|