Skip to content

actions output is [object Object] #1

@tylerthehaas

Description

@tylerthehaas

when running the addons:create command the output of actions is 0=[object Object] 1=[object Object] etc. This can be fixed by just calling stringify on that.

Here is my output if it makes things a bit more clear.

λ aka addons:create alamo-postgresql:hobby -a yearbookapi-ca-dev-us                                                                        [1460c82]


=== Addon alamo-postgresql-language-8328 Provisioned

=== alamo-postgresql-language-8328 (83194d59-47d9-4829-85f1-e191a7be8d4c)
 actions                              0=[object Object], 1=[object Object], 2=[object Object], 3=[object Object], 4=[object Object], 5=[object
                                      Object], 6=[object Object], 7=[object Object], 8=[object Object], 9=[object Object]
 addon_service                        id=01bb60d2-f2bb-64c0-4c8b-ead731a690bc, name=alamo-postgresql
 app                                  id=bb3146df-fc00-4279-8641-d525e6a17d0e, name=yearbookapi-ca-dev-us
 config_vars                          DATABASE_URL=postgres://uee3f7246:5518229d20e0@hobbydb.cxjsifzx23qn.us-west-2.rds.amazonaws.com:5432/pga0302163
 created_at                           2017-12-11T22:21:49.825Z
 id                                   83194d59-47d9-4829-85f1-e191a7be8d4c
 name                                 alamo-postgresql-language-8328
 plan                                 id=50660450-61d3-2c13-a3fd-d379997932fb, name=alamo-postgresql:hobby
 provider_id                          alamo
 updated_at                           2017-12-11T22:21:49.825Z
 web_url                              https://ui.appkit.sh/#/apps/yearbookapi-ca-dev-us

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions