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

rescan_assets does not work in 0.6.1 #48

Closed
gschneider-r7 opened this issue Jan 30, 2014 · 1 comment
Closed

rescan_assets does not work in 0.6.1 #48

gschneider-r7 opened this issue Jan 30, 2014 · 1 comment

Comments

@gschneider-r7
Copy link
Contributor

load an asset group and use rescan_assets to experience an error:

2.0.0p247 :043 > my_scan_group.rescan_assets(nsc)
ArgumentError: wrong number of arguments (1 for 2)
    from /home/gschneider/.rvm/gems/ruby-2.0.0-p247/gems/nexpose-0.6.1/lib/nexpose/scan.rb:61:in `scan_assets'
    from /home/gschneider/.rvm/gems/ruby-2.0.0-p247/gems/nexpose-0.6.1/lib/nexpose/group.rb:115:in `block in rescan_assets'
    from /home/gschneider/.rvm/gems/ruby-2.0.0-p247/gems/nexpose-0.6.1/lib/nexpose/group.rb:113:in `each'
    from /home/gschneider/.rvm/gems/ruby-2.0.0-p247/gems/nexpose-0.6.1/lib/nexpose/group.rb:113:in `rescan_assets'
    from (irb):43
    from /home/gschneider/.rvm/rubies/ruby-2.0.0-p247/bin/irb:13:in `<main>'
@mdaines-r7
Copy link
Contributor

It was calling the wrong method.

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

No branches or pull requests

2 participants