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

Dev #20

Merged
merged 5 commits into from
Dec 9, 2023
Merged

Dev #20

merged 5 commits into from
Dec 9, 2023

Conversation

rawand-faraidun
Copy link
Owner

No description provided.

AhmedBaset and others added 5 commits December 9, 2023 04:01
* Refactor JSON.stringify calls in syncNamespaces function to include indentation

* Refactor JSON.stringify calls to include indentation

* Refactor JSON.stringify calls to include indentation

* chore: formatting

* if there's no config return the defaultConfig

* always return config or default - don't return `{} as Config`

* always return config or default - don't return `{} as Config`

* add `jsonIndentation` field to the config

* new utitlity for getting config to prompt user if config not existed

* cache reported keys don't prompt more than once

* update JSON.stringify to utilize config jsonIndentation

* move `readFile` call outside the function to make it happens once

* handle when no config file & withDefault = false

* Add error message when Linguify config file is not found

* chore: formatting

* perf: remove duplicate call of `fs.readFile`

* exit if there is no config file
@rawand-faraidun rawand-faraidun merged commit 24f65ce into main Dec 9, 2023
1 check passed
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