-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if command is 'oas' before throwing error (#62)
* Check if command is 'oas' before throwing error * In-progress test * Prettier * Fix `rdme oas` by removing `promisify(cp.spawn)` According to this: https://stackoverflow.com/a/46321385 `cp.spawn` isn't really suitable for promisifying due to it being an event listener. This causes the promise to never resolve, which is what causes the test to timeout. Refactored to use new Promise() and listen for the `close` event * Prettier
- Loading branch information
1 parent
7c74f66
commit 78f346b
Showing
3 changed files
with
25 additions
and
7 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