Skip to content

wise download-rules downloads invalid YML file, for empty rules #30

Description

@noisy

The problem

I did:

wise download-rules -a ned ned.yml
cat /home/noisy/.wise/ned.yml

I expected to see:

$ wise download-rules -a ned ned.yml                                                                                                                                        
Downloading rules set by @ned...                                                                                                                                                                                   
Rules saved to file /home/noisy/.wise/ned.yml                                                                                                                                                                      
$ cat /home/noisy/.wise/ned.yml                                                                                                                                                                      

Instead, I saw

$ wise download-rules -a ned ned.yml                                                                                                                                        
Downloading rules set by @ned...                                                                                                                                                                                   
Rules saved to file /home/noisy/.wise/ned.yml                                                                                                                                                                      
$ cat /home/noisy/.wise/ned.yml                                                                                                                                                                      
[]

Version of steem-wise-core: 3.0.6rc-1

Version of nodejs: 10.0.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions