Skip to content

Commit 409bf2a

Browse files
author
Enda
authored
fix: use 't' option instead of 'template' (#5)
1 parent f967a8e commit 409bf2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function run() {
6969
}
7070
const templatesDir = core.getInput('template');
7171
if (templatesDir) {
72-
generateArgs.push('--template', templatesDir);
72+
generateArgs.push('-t', templatesDir);
7373
}
7474
const config = core.getInput('config');
7575
if (config) {

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function run(): Promise<void> {
3636
}
3737
const templatesDir = core.getInput('template');
3838
if (templatesDir) {
39-
generateArgs.push('--template', templatesDir);
39+
generateArgs.push('-t', templatesDir);
4040
}
4141
const config = core.getInput('config');
4242
if (config) {

0 commit comments

Comments
 (0)