Skip to content

Package causes Atom session to not be saved #15

@undefinist

Description

@undefinist

It seems that the issue is caused by flow-state not serializing, and causing an error somewhere in Atom where it cannot store that data in a db. I've fixed it by changing flow.js to return state.serialize(), where state.serialize is the following

serialize:function() {
    return {
        project_path: this.project_path,
        target: this.target,
        system: this.system,
        is_consumer: this.is_consumer,

        flags: {
            debug: this.flags.debug,
            verbose: this.flags.verbose,
            build_only: this.flags.build_only,
            launch_only: this.flags.launch_only
        }
    }
},

Submitting as an issue because I'm not sure if anyone's facing these issues.

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