Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Commit b251dc9

Browse files
committed
fix stupid mistake in inline if statement
1 parent d44d4c0 commit b251dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dart2js.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def initialize(file_or_data, options = {})
4242

4343
def compile minify=true
4444
cmd = [ @dart2js_binary,
45-
minify ? ' -m ' || '',
45+
minify ? ' -m ' : '',
4646
%Q{-o"#{out_file}"},
4747
in_file = prepare_input.path ].join(' ')
4848
process = IO.popen(cmd, 'r')
@@ -67,4 +67,4 @@ def prepare_input
6767
@input_file
6868
end
6969
end
70-
end
70+
end

0 commit comments

Comments
 (0)