Skip to content

Commit

Permalink
[#1207] Fix codacy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Mar 10, 2024
1 parent 955e56e commit a6bc06e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/jekyll/_posts/2014/jul/2014-07-13-basics.md
Expand Up @@ -115,8 +115,8 @@ Then, in your script you get `$tag` environment variable,
which will be set to `1.7`. Your script should change
the version of the product to 1.7 and build it.

This is how we do it in jcabi
[`rultor.yml`](https://github.com/jcabi/jcabi/blob/master/.rultor.yml).
This is how we do it in jcabi
[`rultor.yml`](https://github.com/jcabi/jcabi/blob/master/.rultor.yml).
For example:

{% highlight yaml %}
Expand Down
2 changes: 1 addition & 1 deletion src/jekyll/_posts/2014/jul/2014-07-13-reference.md
Expand Up @@ -295,7 +295,7 @@ release:
echo "packaging..."
{% endhighlight %}

`sensitive` option lists files that must not present in the branch after the release.
`sensitive` option lists files that must not present in the branch after the release.
It is recommended to list your sensitive config files there.

`pre` option if set to `false` will automatically mark the release in GitHub as "final."
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rultor/agents/github/Understands.java
Expand Up @@ -230,7 +230,7 @@ private static int seen(final XML xml) {
*/
private static String rootCause(final Profile.ConfigException exception) {
Throwable root = exception;
while (root.getCause() != root) {
while (!root.equals(root.getCause())) {
root = root.getCause();
}
return root.getMessage();
Expand Down

0 comments on commit a6bc06e

Please sign in to comment.