Maintain backwards compatibility with absolutePath

This commit is contained in:
shockey
2017-07-14 19:11:53 -07:00
committed by GitHub
parent d743137491
commit 7462d069cc

View File

@@ -10,4 +10,8 @@ try {
// for more information.
}
// `absolutePath` and `getAbsoluteFSPath` are both here because at one point,
// we documented having one and actually implemented the other.
// They were both retained so we don't break anyone's code.
module.exports.absolutePath = require("./absolute-path.js")
module.exports.getAbsoluteFSPath = require("./absolute-path.js")