Apply suggestions from code review
Co-authored-by: Johan Haals <johan@haals.se> Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
30ffdae70f
commit
99d4fd5689
@@ -2,4 +2,4 @@
|
||||
'@backstage/plugin-scaffolder-backend': minor
|
||||
---
|
||||
|
||||
Added `fetch:plain:file` action to fetch a single file
|
||||
Added `fetch:plain:file` action to fetch a single file, this action is also added to the list of built-in actions.
|
||||
|
||||
@@ -53,9 +53,7 @@ export async function fetchContents(options: {
|
||||
|
||||
/**
|
||||
* A helper function that reads the content of a single file from the given URL.
|
||||
* Can be used in your own actions, and also used behind fetch:plain:file
|
||||
*
|
||||
* @public
|
||||
* Can be used in your own actions, and also used behind `fetch:plain:file`
|
||||
*/
|
||||
export async function fetchFile(options: {
|
||||
reader: UrlReader;
|
||||
|
||||
Reference in New Issue
Block a user