mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Relative path might be missing
This commit is contained in:
@@ -6,7 +6,10 @@ module.exports = (grunt) ->
|
||||
|
||||
longPaths = []
|
||||
grunt.file.recurse shellAppDir, (absolutePath, rootPath, relativePath, fileName) ->
|
||||
fullPath = path.join(relativePath, fileName)
|
||||
if relativePath
|
||||
fullPath = path.join(relativePath, fileName)
|
||||
else
|
||||
fullPath = fileName
|
||||
longPaths.push(fullPath) if fullPath.length >= 200
|
||||
|
||||
longPaths.sort (longPath1, longPath2) -> longPath2.length - longPath1.length
|
||||
|
||||
Reference in New Issue
Block a user