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

Handle duplicate names #6

Open
Fauntleroy opened this issue Aug 23, 2018 · 2 comments
Open

Handle duplicate names #6

Fauntleroy opened this issue Aug 23, 2018 · 2 comments

Comments

@Fauntleroy
Copy link
Owner

You can't have two emoji with the same name, so what do we do with conflicts?

  • Warn the user about the conflict and ask for a manual rename?
  • Automatically iterate the emoji name with a number?
@vlad-roid
Copy link

I suggest the 2nd option with the automatic numbering, much more convenient

@CJGlitter
Copy link

CJGlitter commented Jul 9, 2024

Almost done with a solution for this on my fork/branch add-name-taken-retry-logic. Just trying to figure out how to test the solution with the npm dependency issues blocking me.

It will append -# to any duplicated emoji names and increment the number to keep retrying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants