Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
There are some cases where dependent.dependencies can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremie Patonnier committed Apr 25, 2015
1 parent 689ce22 commit 9a264de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fs_utils/file_list.coffee
Expand Up @@ -85,6 +85,7 @@ module.exports = class FileList extends EventEmitter
compileDependencyParents: (path) ->
parents = @files
.filter (dependent) =>
dependent.dependencies and
dependent.dependencies.length > 0 and
path in dependent.dependencies and
not @compiled[dependent.path]
Expand Down

0 comments on commit 9a264de

Please sign in to comment.