diff --git a/Rakefile b/Rakefile index a168dc209be253c4ed5099302adae382827749a5..696bb42b03d1f6bcb3ad6ef730f5c909e8a689f1 100644 --- a/Rakefile +++ b/Rakefile @@ -420,8 +420,8 @@ class JsDuckRunner return json["builds"][0]["packages"].map do |package_id| package = json["packages"].find {|p| p["id"] == package_id } - package["files"].map do |file| - basedir + "/" + file["path"] + file["name"] + (package ? package["files"] : []).map do |file| + File.expand_path(basedir + "/" + file["path"] + file["name"]) end end.flatten end