Skip to content

Commit

Permalink
feat(core): add newline on 'debug' repl function message
Browse files Browse the repository at this point in the history
  • Loading branch information
micalevisk committed Nov 28, 2022
1 parent d8ece48 commit 0d4c10d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/repl/native-functions/debug-repl-fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class DebugReplFn extends ReplFunction {
public fnDefinition: ReplFnDefinition = {
name: 'debug',
description:
'Print all registered modules as a list together with their controllers and providers. If the argument is passed in, for example, "debug(MyModule)" then it will only print components of this specific module.',
'Print all registered modules as a list together with their controllers and providers.\nIf the argument is passed in, for example, "debug(MyModule)" then it will only print components of this specific module.',
signature: '(moduleCls?: ClassRef | string) => void',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ describe('HelpReplFn', () => {
.equal(`You can call .help on any function listed below (e.g.: help.help):
$ - Retrieves an instance of either injectable or controller, otherwise, throws exception.
debug - Print all registered modules as a list together with their controllers and providers. If the argument is passed in, for example, "debug(MyModule)" then it will only print components of this specific module.
debug - Print all registered modules as a list together with their controllers and providers.
If the argument is passed in, for example, "debug(MyModule)" then it will only print components of this specific module.
get - Retrieves an instance of either injectable or controller, otherwise, throws exception.
help - Display all available REPL native functions.
methods - Display all public methods available on a given provider or controller.
Expand Down

0 comments on commit 0d4c10d

Please sign in to comment.