Skip to content

Commit 30bb5f1

Browse files
committed
Apply minor aesthetic fixes
1 parent 2e4aebf commit 30bb5f1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ inputs:
44
github_token:
55
description: 'The GitHub token'
66
required: true
7-
one_comment:
8-
description: 'Duplication report will be left as a single comment, which will be updated, instead of multiple ones'
9-
required: false
10-
default: false
117
directories:
128
description: 'A comma-separated list of the directories containing the source code'
139
required: true
@@ -39,6 +35,10 @@ inputs:
3935
description: "Removes comments and docstrings from the source code before analysis"
4036
required: false
4137
default: false
38+
one_comment:
39+
description: 'Duplication report will be left as a single comment, which will be updated, instead of multiple ones'
40+
required: false
41+
default: false
4242
runs:
4343
using: 'docker'
4444
image: 'Dockerfile'

run_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ def main():
206206
print(
207207
"Updating existing comment failed with code: "
208208
+ str(update_result.status_code)
209-
+ ". Attempting to leave new comment instead."
210209
)
211210
print(update_result.text)
211+
print("Attempting to post a new comment instead")
212212
else:
213213
comment_updated = True
214214
break

0 commit comments

Comments
 (0)