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 {
|
||||
...rest,
|
||||
history: Array.isArray(history) ? history : [name + ext],
|
||||
history: Array.isArray(history) ? history : [name + '.' + ext],
|
||||
name,
|
||||
ext,
|
||||
path: name + '.' + ext,
|
||||
|
Reference in New Issue
Block a user