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

Commit 6a4728e

Browse files
author
Leandro Soares
authored
feat(plugin-runner-bin): Add projectName as a template arg (#61)
1 parent fa98e94 commit 6a4728e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/plugin-runner-bin/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export default defineRunner(
4747
const [binOption, ...args] = parseOptions(options).map(arg =>
4848
renderTemplate(arg, {
4949
projectDir: project.fullPath,
50-
workspaceDir: workspace.cwd
50+
workspaceDir: workspace.cwd,
51+
projectName: project.name
5152
})
5253
);
5354

0 commit comments

Comments
 (0)