Skip to content

Commit

Permalink
lol ide
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Oct 6, 2022
1 parent 388f0de commit 2326dd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/platforms/GitLab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class GitLab implements Platform {
const modified_files: string[] = changes
.filter((change) => !change.new_file && !change.deleted_file)
.map((change) => change.new_path)
const created_files: string[] = changes.filter((change) => change.new_file).map((change) => change.new_path)
const deleted_files: string[] = changes.filter((change) => change.deleted_file).map((change) => change.new_path)
const created_files: string[] = changes.filter(change => change.new_file).map(change => change.new_path)
const deleted_files: string[] = changes.filter(change => change.deleted_file).map(change => change.new_path)

return {
modified_files,
Expand All @@ -74,7 +74,7 @@ class GitLab implements Platform {
getInlineComments = async (dangerID: string): Promise<Comment[]> => {
const dangerUserID = (await this.api.getUser()).id

return (await this.api.getMergeRequestInlineNotes()).map((note) => {
return (await this.api.getMergeRequestInlineNotes()).map(note => {
return {
id: `${note.id}`,
body: note.body,
Expand Down

0 comments on commit 2326dd0

Please sign in to comment.