mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Detection of the Meteor project through process.cwd() fails when used in Atom Editor. Use filename i
7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
import getMeteorMeta from './internal/getMeteorMeta'
|
|
var getRelativePath = require('./internal/getRelativePath')
|
|
|
|
export default function (filename) {
|
|
return getMeteorMeta(getRelativePath(filename))
|
|
}
|