Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update the commit template to receive more options#88

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alexcanessa merged 2 commits intorelease-0.10.0fromfeat-72
Sep 30, 2017

Conversation

@alexcanessa
Copy link
Member

The commit message was the only template that didn't have many options.

Now the commit can use these options:

  • author
  • sha
  • url
  • message

The options are:

  1. Via string in the.grenrc.json file
{    template: {        "commit": "- [{{message}}]({{url}}) - @{{author}}"    }}
  1. Via function in the.grenrc.js file
module.exports = {    template: {        commit: ({ author, url, message}) => `- @${author}: [${message}](${url})`)}

resolves#72

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (release-0.10.0@b5915c7).Click here to learn what that means.
The diff coverage is93.75%.

Impacted file tree graph

@@                Coverage Diff                @@##             release-0.10.0      #88   +/-   ##=================================================  Coverage                  ?   79.39%           =================================================  Files                     ?        7             Lines                     ?      330             Branches                  ?        0           =================================================  Hits                      ?      262             Misses                    ?       68             Partials                  ?        0
Impacted FilesCoverage Δ
lib/src/Gren.js75.46% <93.75%> (ø)

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updateb5915c7...7caf1bc. Read thecomment docs.

@alexcanessaalexcanessa merged commitf4c7a8b intorelease-0.10.0Sep 30, 2017
@alexcanessaalexcanessa deleted the feat-72 branchSeptember 30, 2017 12:49
@alexcanessaalexcanessa mentioned this pull requestOct 8, 2017
alexcanessa added a commit that referenced this pull requestOct 8, 2017
* Update the filter otion for the commit to accept all the options* Add options to the commit messages
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@alexcanessa@codecov-io

[8]ページ先頭

©2009-2025 Movatter.jp