From b490600f885f85de609bfe7bec80180b8bdaee41 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sat, 24 Mar 2018 14:18:33 -0700 Subject: [PATCH] feat: show project name in update message --- src/hooks/init/check_update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/init/check_update.ts b/src/hooks/init/check_update.ts index 7276369c..cbaa33c2 100644 --- a/src/hooks/init/check_update.ts +++ b/src/hooks/init/check_update.ts @@ -13,7 +13,7 @@ const hook: Hook<'init'> = async function ({config}) { try { const distTags = await fs.readJSON(file) if (distTags && distTags.latest && semver.gt(distTags.latest, config.version)) { - this.warn(`Update available to ${distTags.latest} from ${config.version}`) + this.warn(`${config.name} update available to ${distTags.latest} from ${config.version}`) } } catch (err) { if (err.code !== 'ENOENT') throw err