IntegerAlex / ts-strict-setup

CLI tool that sets up a TypeScript project with a minimal yet well-configured environment in a single command
GNU General Public License v3.0
0 stars 2 forks source link

Throw an error instead of using process.exit(). #8

Closed LyubomirT closed 3 months ago

LyubomirT commented 3 months ago

This PR replaces process.exit() calls with thrown errors to address JS0263 violations. This allows for proper error handling and avoids abrupt program termination.

deepsource-io[bot] commented 3 months ago

Here's the code health analysis summary for commits f318e03..e98f629. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ Success
🎯 1 occurence resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.
IntegerAlex commented 3 months ago

Thank you for your PR! Replacing process.exit() calls with thrown errors is a significant improvement, it avoids abrupt termination of the program.

Its still a single file program , Its needs to be multiple file to be managed correctly and remove room for errors . If you can help in this or share this project

LyubomirT commented 3 months ago

Thank you for your PR! Replacing process.exit() calls with thrown errors is a significant improvement, it avoids abrupt termination of the program.

Its still a single file program , Its needs to be multiple file to be managed correctly and remove room for errors . If you can help in this or share this project

I think I can try to help, could we please meet in Discord? It's easier for me to communicate that way.

IntegerAlex commented 3 months ago

Thank you for your PR! Replacing process.exit() calls with thrown errors is a significant improvement, it avoids abrupt termination of the program. Its still a single file program , Its needs to be multiple file to be managed correctly and remove room for errors . If you can help in this or share this project

I think I can try to help, could we please meet in Discord? It's easier for me to communicate that way.

sure , username : bangerop0985