Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This resolves the situation where an existing package.json has an author field, but it is an object instead of a string. In this case, the prompt is skipped. Also includes some code cleanup that doesn't change behavior in any way.
- Loading branch information
1 parent
15f2823
commit 55b4fdf
Showing
4 changed files
with
131 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "videojs-author-fixture", | ||
"description": "This is a fixture to test the handling of an author object.", | ||
"author": { | ||
"name": "John Doe", | ||
"email": "john@doe.com" | ||
}, | ||
"license": "MIT", | ||
"version": "1.0.0" | ||
} |
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