fix: incorrect polyvinyl init name in history
This commit is contained in:
@ -71,7 +71,7 @@ export function createPoly({ name, ext, contents, history, ...rest } = {}) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
...rest,
|
...rest,
|
||||||
history: Array.isArray(history) ? history : [name + ext],
|
history: Array.isArray(history) ? history : [name + '.' + ext],
|
||||||
name,
|
name,
|
||||||
ext,
|
ext,
|
||||||
path: name + '.' + ext,
|
path: name + '.' + ext,
|
||||||
|
Reference in New Issue
Block a user