Update prettier

This commit is contained in:
Thomas Nordquist
2020-04-15 23:54:30 +02:00
parent fbfbe94d19
commit 237c718a0a
76 changed files with 130 additions and 257 deletions

View File

@@ -40,8 +40,8 @@ class TransitionBuilder {
public buildOptions(outputFile: string) {
return {
output: outputFile,
videos: this.scenes.map(s => `${s}.mp4`),
transitions: this.transitions.map(name => ({
videos: this.scenes.map((s) => `${s}.mp4`),
transitions: this.transitions.map((name) => ({
name: name !== 'none' ? name : 'fade',
duration: name !== 'none' ? 1000 : 10,
})),