Skip to content

Commit

Permalink
feat(repl): just process.exit(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Jan 6, 2024
1 parent e2f49d6 commit cf50f0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/core",
"version": "4.19.0",
"version": "4.20.0",
"description": "The plug and play Node.js framework.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
2 changes: 0 additions & 2 deletions src/repl/ReplImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* file that was distributed with this source code.
*/

import { LoadHelper } from '#src/helpers/LoadHelper'
import type { Command } from '#src/repl/helpers/Command'
import type { REPLServer, ReplOptions } from 'node:repl'
import { Is, Module, Options, String } from '@athenna/common'
Expand Down Expand Up @@ -47,7 +46,6 @@ export class ReplImpl {
*/
public shutdownProviders() {
this.session?.on('exit', async () => {
await LoadHelper.shutdownProviders()
process.exit(0)
})

Expand Down

0 comments on commit cf50f0a

Please sign in to comment.