From 45418f64ff87545d7b849526e34ddd2acc3ea577 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 26 Jul 2019 15:43:09 +1000 Subject: [PATCH] fix: removes console.error When downloading a template that doesn't exist the error was printed in full to the command line. This fixes that. --- src/templating/data.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/templating/data.ts b/src/templating/data.ts index d26d73ee..b8fd6345 100644 --- a/src/templating/data.ts +++ b/src/templating/data.ts @@ -100,7 +100,6 @@ export async function getTemplateFiles( return files; } catch (err) { log(err.message); - console.error(err); throw new Error('Invalid template'); } }