projects
/
node-aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2c63b
)
test.js: simplify
author
Paul Brossier
<piem@piem.org>
Wed, 20 Apr 2016 12:38:23 +0000
(14:38 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 20 Apr 2016 12:38:23 +0000
(14:38 +0200)
test.js
patch
|
blob
|
history
diff --git
a/test.js
b/test.js
index
cb51835
..
e4f779e
100644
(file)
--- a/
test.js
+++ b/
test.js
@@
-64,9
+64,7
@@
var get_features = function(path, params) {
if (process.argv[2]) {
var filename = process.argv[2];
-}
-
-if (filename == null) {
+} else {
console.log('error: a command line argument is required.');
console.log('usage examples:');
console.log(' ' + process.argv[0] + ' ' + process.argv[1] + ' <file.wav>');