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

Refactor magicFileType to reduce cyclic dependencies #480

Closed
wants to merge 1 commit into from

Conversation

d98762625
Copy link
Member

As part of an effort to reduce cyclic dependencies, we can refactor magicFileType into a standalone lib file, DetectFileType. This removes cyclic dependencies in the operations that used magicFileType, by removing the import of Magic (which in turn imported Recipe, which imported OpModules, which imported each operation - resulting in our cyclic dependency)

The cyclic dependencies cause issues in generating config for core and node chef. There are still cyclic dependencies in flowcontrol and Magic operations, but they will be addressed in another PR.

…ucing cyclic dependencies in operations using newly names detectFileType
@mattnotmitt
Copy link
Collaborator

I think @n1474335 did this in #440 - perhaps we should wait for that to merge instead?

@d98762625
Copy link
Member Author

Yeh looks like that covers it! I'll close this then.

@d98762625 d98762625 closed this Jan 23, 2019
@d98762625 d98762625 deleted the refactor-file-type branch February 11, 2019 17:40
BRAVO68WEB pushed a commit to BRAVO68WEB/CyberChef that referenced this pull request May 29, 2022
…lback

[FIX] Adds try catch to server welcome msg
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.

2 participants