👕 lint lint lint

This commit is contained in:
Ash Wilson
2017-08-02 12:33:06 -04:00
parent 1f56713702
commit 931b4e7055

View File

@@ -3,7 +3,7 @@
const path = require('path')
// Private: re-join the segments split from an absolute path to form another absolute path.
function absolute(...parts) {
function absolute (...parts) {
const candidate = path.join(...parts)
return path.isAbsolute(candidate) ? candidate : path.join(path.sep, candidate)
}