Skip to content

Commit

Permalink
docs: correct function name (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
werheng committed Apr 2, 2024
1 parent d00a4ee commit 9a3ea63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const rainbow: TemplateProvider = async (input, { auth }) => {
};
};

const { source, dir } = await downloadRepo("rainbow:one", {
const { source, dir } = await downloadTemplate("rainbow:one", {
providers: { rainbow },
});
```
Expand All @@ -194,7 +194,7 @@ const themes = registryProvider(
"https://raw.githubusercontent.com/unjs/giget/main/templates",
);

const { source, dir } = await downloadRepo("themes:test", {
const { source, dir } = await downloadTemplate("themes:test", {
providers: { themes },
});
```
Expand Down

0 comments on commit 9a3ea63

Please sign in to comment.