chore: remove redundant resolvePath

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2023-09-26 14:18:06 +02:00
parent c8ec0dea4a
commit 567e262405
+1 -3
View File
@@ -98,9 +98,7 @@ export default async (opts: OptionValues): Promise<void> => {
await checkAppExistsTask(paths.targetDir, answers.name);
Task.section('Creating a temporary app directory');
const tempDir = await fs.mkdtemp(
resolvePath(resolvePath(os.tmpdir(), answers.name)),
);
const tempDir = await fs.mkdtemp(resolvePath(os.tmpdir(), answers.name));
Task.section('Preparing files');
await templatingTask(templateDir, tempDir, {