Skip to content

undefined method `[]' for nil:NilClass during rake convert #5

@jaredmoody

Description

@jaredmoody
> rake convert
git ls-remote 'https://github.com/Semantic-Org/Semantic-UI' | awk '/1.0/ {print $1}'
Convert Semantic LESS to SASS
 repo   : https://github.com/Semantic-Org/Semantic-UI
 branch : cb16012047e996cde46e5476bfee426d4d441eae https://github.com/Semantic-Org/Semantic-UI/tree/1.0
 save to: {"js":"semantic/assets/javascripts/semantic","scss":"semantic/assets/stylesheets/semantic","fonts":"semantic/assets/fonts/semantic"}
 converter cache: tmp/converter-semantic
------------------------------------------------------------
Processing stylesheets...
  CACHED GET https://api.github.com/repos/Semantic-Org/Semantic-UI/git/trees/cb16012047e996cde46e5476bfee426d4d441eae...
  CACHED GET https://api.github.com/repos/Semantic-Org/Semantic-UI/git/trees/94525b220f3c0a34e2fba78c19cf9fbfe3f48f50...
rake aborted!
NoMethodError: undefined method `[]' for nil:NilClass
/Users/jaredmoody/Sites/Semantic-UI-SCSS/tasks/converter/network.rb:75:in `get_tree_sha'
/Users/jaredmoody/Sites/Semantic-UI-SCSS/tasks/converter/less_conversion.rb:151:in `src_folder'
/Users/jaredmoody/Sites/Semantic-UI-SCSS/tasks/converter/less_conversion.rb:156:in `scan_less_folders'
/Users/jaredmoody/Sites/Semantic-UI-SCSS/tasks/converter/less_conversion.rb:147:in `semantic_less_files'
/Users/jaredmoody/Sites/Semantic-UI-SCSS/tasks/converter/less_conversion.rb:54:in `process_stylesheet_assets'
/Users/jaredmoody/Sites/Semantic-UI-SCSS/tasks/converter.rb:65:in `process_semantic'
/Users/jaredmoody/Sites/Semantic-UI-SCSS/Rakefile:9:in `block in <top (required)>'
Tasks: TOP => convert

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions