Consistent two-tabs - warvox - Unnamed repository; edit this file 'description'… | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 922c8b67c39f72646441de35353bb87401adea71 | |
parent 0aacd504ef564bfaa03d42fd90e5081684065760 | |
Author: HD Moore <[email protected]> | |
Date: Wed, 2 Mar 2016 16:00:22 -0600 | |
Consistent two-tabs | |
Diffstat: | |
M bin/audio_compare.rb | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/bin/audio_compare.rb b/bin/audio_compare.rb | |
@@ -6,7 +6,7 @@ | |
# | |
base = __FILE__ | |
while File.symlink?(base) | |
- base = File.expand_path(File.readlink(base), File.dirname(base)) | |
+ base = File.expand_path(File.readlink(base), File.dirname(base)) | |
end | |
$:.unshift(File.join(File.expand_path(File.dirname(base)), '..', 'lib')) | |
@@ -14,8 +14,8 @@ require 'warvox' | |
require 'pry' | |
def usage | |
- $stderr.puts "Usage: #{$0} <inputA.raw> <inputB.raw>" | |
- exit | |
+ $stderr.puts "Usage: #{$0} <inputA.raw> <inputB.raw>" | |
+ exit | |
end | |
def log(m) | |
@@ -34,7 +34,7 @@ inp1 = ARGV.shift | |
inp2 = ARGV.shift | |
if [inp1, inp2].include?("-h") or not (inp1 && inp2) | |
- usage() | |
+ usage() | |
end | |
# log("Processing #{inp1}...") |