X Tutup
Skip to content

Commit bcab22d

Browse files
committed
Clean up code
1 parent 096a0a3 commit bcab22d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/map-generator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ class MapGenerator {
176176
outputFile() {
177177
if (this.opts.to) {
178178
return this.path(this.opts.to)
179-
}
180-
if (this.opts.from) {
179+
} else if (this.opts.from) {
181180
return this.path(this.opts.from)
181+
} else {
182+
return 'to.css'
182183
}
183-
return 'to.css'
184184
}
185185

186186
generateMap() {

0 commit comments

Comments
 (0)
X Tutup