first commit
This commit is contained in:
5
build/node_modules/ssh2/lib/utils.js
generated
vendored
Normal file
5
build/node_modules/ssh2/lib/utils.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
exports.spliceOne = function(list, index) {
|
||||
for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)
|
||||
list[i] = list[k];
|
||||
list.pop();
|
||||
};
|
||||
Reference in New Issue
Block a user