Skip to content

Commit

Permalink
Fix get dependency in README-GJS.md template file
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Jul 19, 2024
1 parent 2df1cae commit 72b4d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generator-typescript/templates/gjs/README-GJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To use this type definitions, install them with NPM:
npm install <%- npmScope %>/<%- importName %>
```

<%_ const pkg = dep.getSync(packageName) _%>
<%_ const pkg = await dep.get(packageName) _%>
<%_ if(!pkg){ _%>
<%_ return `Package with package name "${packageName}" not found!` _%>
<%_ } _%>
Expand Down

0 comments on commit 72b4d57

Please sign in to comment.