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

!reset_objective is broken #61

Closed
GnaspGames opened this issue Aug 29, 2016 · 0 comments
Closed

!reset_objective is broken #61

GnaspGames opened this issue Aug 29, 2016 · 0 comments
Labels
bug

Comments

@GnaspGames
Copy link
Owner

@GnaspGames GnaspGames commented Aug 29, 2016

Error is:

ReferenceError: args is not defined
    at Object.ResetObjective.Execute (**removed**\node_modules\smelt-cli\plugins\reset_objective.js:20:2)

Need to change this:

    // Remove name and criteria from args.
    args.shift();
    args.shift();

to this:

    // Remove name and criteria from args.
    smelt.args.shift();
    smelt.args.shift();
@GnaspGames GnaspGames added the bug label Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.