use resolvePath with targetDir when using cmd.path

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
Colton Padden
2021-10-07 11:00:40 -04:00
parent 1d7078df93
commit 6c93f322ca
+1 -1
View File
@@ -147,7 +147,7 @@ export default async (cmd: Command): Promise<void> => {
// Use `--path` argument as applicaiton directory when specified, otherwise
// create a directory using `answers.name`
const appDir = cmd.path
? resolvePath(cmd.path)
? resolvePath(paths.targetDir, cmd.path)
: resolvePath(paths.targetDir, answers.name);
Task.log();