Skip to content

Commit

Permalink
fix: save generator after migration (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoventura authored Jan 14, 2025
1 parent 6b67a92 commit a1c6d02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/schemas/generator/v0/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export type GeneratorSchema = z.infer<typeof GeneratorFileDataSchema>
export function migrate(generator: GeneratorSchema): v1.GeneratorSchema {
return {
version: '1.0',
allowlist: generator.allowlist,
includeStaticAssets: generator.includeStaticAssets,
options: generator.options,
recordingPath: generator.recordingPath,
options: generator.options,
testData: generator.testData,
rules: generator.rules,
allowlist: generator.allowlist,
includeStaticAssets: generator.includeStaticAssets,
scriptName: generator.scriptName,
testData: generator.testData,
}
}

0 comments on commit a1c6d02

Please sign in to comment.