diff --git a/bin/marked b/bin/marked index f26b31bc..57583809 100755 --- a/bin/marked +++ b/bin/marked @@ -120,11 +120,11 @@ function main(argv, callback) { } function getData(callback) { - if (string) { - return callback(null, string); - } if (!input) { if (files.length <= 2) { + if (string) { + return callback(null, string); + } return getStdin(callback); } input = files.pop();