remove redundant assert
This commit is contained in:
@@ -186,9 +186,6 @@ function getLogs(taskId, options, callback) {
|
||||
format = options.format || 'json',
|
||||
follow = options.follow;
|
||||
|
||||
assert.strictEqual(typeof lines, 'number');
|
||||
assert.strictEqual(typeof format, 'string');
|
||||
|
||||
let cmd = '/usr/bin/tail';
|
||||
var args = [ '--lines=' + lines ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user