[ci] format
This commit is contained in:
parent
67c58c48c7
commit
780c583b0e
1 changed files with 1 additions and 3 deletions
|
@ -7,9 +7,7 @@ import fs from 'node:fs';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import { error, info, spinner, title } from '../messages.js';
|
import { error, info, spinner, title } from '../messages.js';
|
||||||
|
|
||||||
export async function template(
|
export async function template(ctx: Pick<Context, 'template' | 'prompt' | 'dryRun' | 'exit'>) {
|
||||||
ctx: Pick<Context, 'template' | 'prompt' | 'dryRun' | 'exit'>
|
|
||||||
) {
|
|
||||||
if (!ctx.template) {
|
if (!ctx.template) {
|
||||||
const { template: tmpl } = await ctx.prompt({
|
const { template: tmpl } = await ctx.prompt({
|
||||||
name: 'template',
|
name: 'template',
|
||||||
|
|
Loading…
Reference in a new issue