Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/nodeMavenApi bug #56

Closed
concon121 opened this issue Nov 6, 2016 · 1 comment
Closed

feature/nodeMavenApi bug #56

concon121 opened this issue Nov 6, 2016 · 1 comment
Assignees
Labels

Comments

@concon121
Copy link
Owner

Remember to fix this tomorrow!

atom-maven.js:75 Uncaught (in promise) TypeError: 
pom.project.dependencies.dependency[Symbol.iterator] is not a function(…)
getClasspathFromDependencies @ atom-maven.js:75
writeClasspath @ atom-maven.js:51
(anonymous function) @ atom-maven.js:38
_tickCallback @ internal/process/next_tick.js:103
@concon121 concon121 added the bug label Nov 6, 2016
@concon121 concon121 added this to the feature/nodeMavenApi milestone Nov 6, 2016
@concon121 concon121 self-assigned this Nov 6, 2016
@concon121
Copy link
Owner Author

Happens when a pom file has no dependencies and the object pom.project.dependencies.dependency is null. Solution was to simply check if it was an instanceof Array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant