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:
Arthur Gavlyukovskiy
2023-03-21 16:31:04 +01:00
committed by GitHub
parent 30ffdae70f
commit 99d4fd5689
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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;