mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-29 09:27:42 +00:00
bugfix for filename
This commit is contained in:
@@ -12,7 +12,7 @@ function Recorder(option){
|
||||
db;
|
||||
|
||||
option = option || {};
|
||||
if(option.filename){
|
||||
if(option.filename && typeof option.filename == "string"){
|
||||
|
||||
try{
|
||||
if(fs.existsSync(option.filename)){
|
||||
|
Reference in New Issue
Block a user