Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
feat(plugin-runner-bin): Add projectName as a template arg (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro Soares authored Jul 8, 2021
1 parent fa98e94 commit 6a4728e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-runner-bin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default defineRunner(
const [binOption, ...args] = parseOptions(options).map(arg =>
renderTemplate(arg, {
projectDir: project.fullPath,
workspaceDir: workspace.cwd
workspaceDir: workspace.cwd,
projectName: project.name
})
);

Expand Down

0 comments on commit 6a4728e

Please sign in to comment.