mirror of
https://github.com/atom/atom.git
synced 2026-02-18 10:31:54 -05:00
👕 lint lint lint
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user