Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Commit

Permalink
refactored message
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Mar 5, 2017
1 parent fd1689b commit 046e639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/amihaiemil/charles/github/Brain.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ public Step indexPageStep(Command com, Language lang) throws IOException {
this.finalCommentStep(
com, lang, "index.finished.comment",
com.authorLogin(),
com.repo().ownerLogin() + "/" + com.repo().name(),
this.logsLoc.address()
)
)
Expand Down Expand Up @@ -228,7 +227,6 @@ public Step indexSiteStep(Command com, Language lang) throws IOException {
this.finalCommentStep(
com, lang, "index.finished.comment",
com.authorLogin(),
com.repo().ownerLogin() + "/" + com.repo().name(),
this.logsLoc.address()
)
)
Expand Down
6 changes: 2 additions & 4 deletions src/main/resources/responses_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ step.failure.comment=@%s Some steps failed when processing your command. See [lo
Try again and if the error persists please, open an [issue](https://github.com/opencharles/charles-rest/issues/new).
index.finished.comment=@%s Index command executed successfully! \n \
Add the following [script](https://github.com/opencharles/charles-search-box#reactjs-search-box-component) \
to the website in order to make the search functionality available:\n\n \
<script type="text/javascript" id="charlesscript" repo="%s"\
src="http://amihaiemil.github.io/js/charles/charles.min.js">\n</script> \n\n \
Add the widget [script](https://github.com/opencharles/charles-search-box#reactjs-search-box-component) \
to the website in order to make the search functionality available.\n\n \
See [logs](%s) for more details. \n \
If you notice any inexplicable errors, please open an issue \
[here](https://github.com/opencharles/charles-rest/issues/new)
Expand Down

0 comments on commit 046e639

Please sign in to comment.