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
189 B
JavaScript
7 lines
189 B
JavaScript
import stripPathPrefix from './stripPathPrefix'
|
|
var getRootPath = require('./getRootPath')
|
|
|
|
export default function (filename) {
|
|
return stripPathPrefix(getRootPath(filename), filename)
|
|
}
|