Skip to content

Commit ac875ef

Browse files
committed
yarn format again
1 parent 20dc219 commit ac875ef

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/features/game/parser/ParserValidator.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ export default class ParserValidator {
205205

206206
case GameEntityType.bgms:
207207
const numberOfBgm = [
208-
...Parser.checkpoint.map.getSoundAssets(), // Imported sound assets
209-
...Object.values(SoundAssets) // Default sound assets
210-
].filter(
211-
sound => sound.soundType === GameSoundType.BGM && sound.key === itemId
212-
).length;
208+
...Parser.checkpoint.map.getSoundAssets(), // Imported sound assets
209+
...Object.values(SoundAssets) // Default sound assets
210+
].filter(
211+
sound => sound.soundType === GameSoundType.BGM && sound.key === itemId
212+
).length;
213213
if (numberOfBgm === 0) {
214214
throw new Error(`Cannot find bgm key "${itemId}"`);
215215
} else if (numberOfBgm > 1) {
@@ -219,11 +219,11 @@ export default class ParserValidator {
219219

220220
case GameEntityType.sfxs:
221221
const numberOfSfx = [
222-
...Parser.checkpoint.map.getSoundAssets(), // Imported sound assets
223-
...Object.values(SoundAssets) // Default sound assets
224-
].filter(
225-
sound => sound.soundType === GameSoundType.SFX && sound.key === itemId
226-
).length;
222+
...Parser.checkpoint.map.getSoundAssets(), // Imported sound assets
223+
...Object.values(SoundAssets) // Default sound assets
224+
].filter(
225+
sound => sound.soundType === GameSoundType.SFX && sound.key === itemId
226+
).length;
227227
if (numberOfSfx === 0) {
228228
throw new Error(`Cannot find sfx key "${itemId}"`);
229229
} else if (numberOfSfx > 1) {

0 commit comments

Comments
 (0)