Skip to content

Commit 1e2f3e6

Browse files
fix: add curly braces to if statement in update-packages main.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 77ce141 commit 1e2f3e6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/update-packages/src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ function removeDuplicateMigrations(migrations: MigrationsJsonPackage[]) {
132132
}
133133

134134
async function selectOmittedPackages(packages: string[]): Promise<string[]> {
135-
if (packages.length === 0) return [];
135+
if (packages.length === 0) {
136+
return [];
137+
}
136138
const { omit } = await inquirer.prompt([
137139
{
138140
type: 'checkbox',

0 commit comments

Comments
 (0)