mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-27 17:54:11 +00:00
feature(flop) write: add Buffer
This commit is contained in:
parent
b4870295ab
commit
9edc769c11
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@
|
|||
|
||||
if (!type)
|
||||
type = '';
|
||||
else if (type instanceof Buffer)
|
||||
type = 'string';
|
||||
|
||||
switch(type) {
|
||||
case 'string':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue