Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Veilza committed Mar 8, 2024
1 parent d2ee579 commit df84f1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/scripts/migration/migrate-animal-ken.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export const MigrateAnimalKen = async function () {

// Delete the old skill
delete actorData.exceptionaldicepools['animal ken']
await actor.update({ ['system.exceptionaldicepools.-=animal ken']: null});
await actor.update({ 'system.exceptionaldicepools.-=animal ken': null })

// Update the actor's data with the new information
await actor.update({ ['system.exceptionaldicepools']: actorData.exceptionaldicepools })
await actor.update({ 'system.exceptionaldicepools': actorData.exceptionaldicepools })

// Send a notification and push the actor ID to the migration IDs list
ui.notifications.info(`Fixing actor ${actor.name}: Migrating Animal Ken data.`)
Expand All @@ -38,10 +38,10 @@ export const MigrateAnimalKen = async function () {

// Delete the old skill
delete actorData.skills['animal ken']
await actor.update({ ['system.skills.-=animal ken']: null});
await actor.update({ 'system.skills.-=animal ken': null })

// Update the actor's data with the new information
await actor.update({ ['system.skills']: actorData.skills })
await actor.update({ 'system.skills': actorData.skills })

// Send a notification and push the actor ID to the migration IDs list
ui.notifications.info(`Fixing actor ${actor.name}: Migrating Animal Ken data.`)
Expand Down

0 comments on commit df84f1a

Please sign in to comment.