-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure
kv:key list
matches the output from Wrangler 1
The previous output was passing an array of objects to console.log, which ended up showing something like ``` [Object object] [Object object] ... ``` Now the result is JSON stringified before being sent to the console. The tests have been fixed to check this too.
- Loading branch information
1 parent
b9aa6e3
commit 0289882
Showing
3 changed files
with
117 additions
and
22 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,16 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: ensure `kv:key list` matches the output from Wrangler 1 | ||
|
||
The previous output was passing an array of objects to console.log, which ended up showing something like | ||
|
||
``` | ||
[Object object] | ||
[Object object] | ||
... | ||
``` | ||
|
||
Now the result is JSON stringified before being sent to the console. | ||
The tests have been fixed to check this too. |
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