You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this issue should be handled by proper validation in the code so that cli can detect the negative input for POSITION and can warn the user about the invalid position.
Yes. The CLI team debated this last night at some length. We came to the conclusion that this is not a bug and that as a feature, it is something that members of the user community could be leveraging today. Thus rather than treating it as a bug and removing the ability to pass in any non-positive integer and expecting to have the buildpack assume the #1 position, we are going to simply word the messaging around this more strongly .
That story is currently in the pipeline so I'm going to close this issue. please reopen if the need arises.
cf update-buildpack java_off -i -6
cf update-buildpack takes the -i[POSITION] parameter as (-6) and gives successful result.
Expected Behaviour : - It should throw an error as an invalid position
The text was updated successfully, but these errors were encountered: