Skip to content

Conversation

@adrianorsouza
Copy link

There is a deprecation warning as of v2.8.0 when using moment().subtract() shown in console when running grunt changelog.

Also if we want to changelog only commits which was not pushed to the origin I define the argument @{push}.. in logArguments. But what happens if the branch is up-to-date with origin the log will be empty making an infinity loop and console running out of memory.

follwing warning:

- Deprecation warning: moment().subtract(period, number) is deprecated.
Please use moment().subtract(number, period).
… of memory

This error happens when we want to get only the logs which was not
pushed to upstream using `@{push}..` with `logArguments` option,
sometimes the result using this command is empty causing an infinity
loop.
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

Successfully merging this pull request may close these issues.

1 participant