-
-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix json and yaml formatters to respect num lines (#929)
The json and yaml formatters were not outputting the lines of content according to the user's selection. This is a result of issue:as_dict() function that does not pass through the max_lines argument to get_code. As a result, it would always return the default of 3. This change now optionally passes through desired lines of content. Fixes #604 Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters