From 24980651c0ec34a48ca55f128d43c3fe3afa789f Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 13 Feb 2018 22:08:29 -0500 Subject: [PATCH] that was a weird typo --- src/cli/upgrade.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/upgrade.ts b/src/cli/upgrade.ts index ed8a83e..c05a958 100644 --- a/src/cli/upgrade.ts +++ b/src/cli/upgrade.ts @@ -3,9 +3,9 @@ import chalk from 'chalk'; export default async function upgrade() { const upgraded = [ - - ].filter(Boolean); await upgrade_sapper_main() + ].filter(Boolean); + if (upgraded.length === 0) { console.log(`No changes!`); }