Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isAliasToBeRemoved logic check #7

Merged
merged 2 commits into from
Oct 9, 2023
Merged

Add isAliasToBeRemoved logic check #7

merged 2 commits into from
Oct 9, 2023

Conversation

EthanThatOneKid
Copy link
Contributor

@EthanThatOneKid EthanThatOneKid commented Oct 8, 2023

Fix error condition logic in the function shorter (defined in lib/shorter/shorter.ts). Now, the error will only throw if a destination is present, implying the alias destination is to be updated and the alias is not to be removed.

Resolves #3.

Copy link
Contributor

@karnikaavelumani karnikaavelumani left a comment

Choose a reason for hiding this comment

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

After careful examination of those 4 lines of code, I have indicated that this...looks good to me.

@EthanThatOneKid EthanThatOneKid merged commit dbaac9a into main Oct 9, 2023
1 check passed
@EthanThatOneKid EthanThatOneKid deleted the fix/3 branch April 13, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce ttl option
2 participants