From 02f3714735ac1fe5cf36951b171d6843d324a186 Mon Sep 17 00:00:00 2001 From: Valeriy Date: Wed, 9 Jan 2019 03:39:05 +0300 Subject: [PATCH] fix: incorrect polyvinyl init name in history --- client/src/templates/Challenges/utils/polyvinyl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/templates/Challenges/utils/polyvinyl.js b/client/src/templates/Challenges/utils/polyvinyl.js index 042e439ef8..dd2594ff36 100644 --- a/client/src/templates/Challenges/utils/polyvinyl.js +++ b/client/src/templates/Challenges/utils/polyvinyl.js @@ -71,7 +71,7 @@ export function createPoly({ name, ext, contents, history, ...rest } = {}) { return { ...rest, - history: Array.isArray(history) ? history : [name + ext], + history: Array.isArray(history) ? history : [name + '.' + ext], name, ext, path: name + '.' + ext,