Skip to content

Correct error handling incorrect environment for "github pin" command #21

Description

knife github pin xxx_motd 1.1.0 XXX
Pin version 1.1.0 of cookbook xxx_motd in Environment XXX? (Y/N) y
ERROR: knife encountered an unexpected error
This may be a bug in the 'github pin' knife command or plugin
Please collect the output of this command with the -VV option before filing a bug report.
Exception: NoMethodError: undefined method `cookbook_versions' for nil:NilClass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions