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

chore: trim server using knip #3860

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

chore: trim server using knip #3860

wants to merge 2 commits into from

Conversation

moroine
Copy link
Contributor

@moroine moroine commented Oct 16, 2024

Suppression du code mort dans le serveur npx knip --workspace server

@moroine moroine requested review from nkrmr and Pomarom October 16, 2024 08:11
.husky/pre-commit Outdated Show resolved Hide resolved
@@ -52,7 +52,7 @@ export const mergeEffectifWithDefaults = <T extends Partial<IEffectif>>(effectif
/**
* Méthode de mise à jour d'un effectif depuis son id
*/
export const updateEffectif = async (_id: ObjectId, data: any, opt = { keepPreviousErrors: false }) => {
const updateEffectif = async (_id: ObjectId, data: any, opt = { keepPreviousErrors: false }) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suppression des export non utilisé à l'exterieur

@antoinebigard
Copy link
Contributor

N'enleve pas le prevent c'est certe redondant maintenant mais utile pour être sur que certains fichiers ne sont pas push nimporte comment

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.

4 participants