Files
meteor/lib/util/getMeta.js
Dominik Ferber 650d61efd7 refactor(internal): Detect project based on filename instead of process.cwd
Detection of the Meteor project through process.cwd() fails when used in Atom Editor. Use filename i
2015-10-04 19:41:47 +02:00

7 lines
203 B
JavaScript

import getMeteorMeta from './internal/getMeteorMeta'
var getRelativePath = require('./internal/getRelativePath')
export default function (filename) {
return getMeteorMeta(getRelativePath(filename))
}