From 484a516bd6d41975b4ea18cdb97e8a998b98c85c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 7 Jul 2014 16:03:03 -0700 Subject: [PATCH] Relative path might be missing --- build/tasks/output-long-paths-task.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/tasks/output-long-paths-task.coffee b/build/tasks/output-long-paths-task.coffee index a47660404..68e3358c0 100644 --- a/build/tasks/output-long-paths-task.coffee +++ b/build/tasks/output-long-paths-task.coffee @@ -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