Skip to content

chore: Use GitHub Actions for CI#1137

Merged
jdneo merged 1 commit into
masterfrom
cs/jdneo-patch-1
Feb 2, 2021
Merged

chore: Use GitHub Actions for CI#1137
jdneo merged 1 commit into
masterfrom
cs/jdneo-patch-1

Conversation

@jdneo

@jdneo jdneo commented Feb 1, 2021

Copy link
Copy Markdown
Member

No description provided.

@jdneo jdneo force-pushed the cs/jdneo-patch-1 branch 4 times, most recently from ed18557 to 108994f Compare February 2, 2021 04:19
@jdneo jdneo changed the title Cs/jdneo patch 1 chore: Use GitHub Actions for CI Feb 2, 2021
Comment on lines +42 to +43
const methodEndIndex: number = fullName.indexOf('[');
const items: ILocation[] = await searchTestLocation(fullName.slice(fullName.indexOf('@') + 1, methodEndIndex < 0 ? undefined : methodEndIndex));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the purpose of this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should only provide the end param when the string has '[', otherwise indexOf('[') will return -1 thus the last character will be truncated.

It's a regression introduced in #1135. It will actually fail the CI, but since tracis.org is not working so I didn't find it in time.

@jdneo jdneo added this to the 0.28.0 milestone Feb 2, 2021
@jdneo jdneo added the eng Debts for engineering label Feb 2, 2021
@testforstephen testforstephen requested a review from majguo February 2, 2021 05:03
@testforstephen

Copy link
Copy Markdown
Contributor

@majguo could you help review whether there is security vulnerability?

@testforstephen testforstephen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdneo jdneo merged commit 80b8bf7 into master Feb 2, 2021
@jdneo jdneo deleted the cs/jdneo-patch-1 branch February 2, 2021 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eng Debts for engineering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants