Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package causes Atom session to not be saved #15

Open
undefinist opened this issue Apr 15, 2016 · 1 comment
Open

Package causes Atom session to not be saved #15

undefinist opened this issue Apr 15, 2016 · 1 comment

Comments

@undefinist
Copy link

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.

@ruby0x1
Copy link
Member

ruby0x1 commented Apr 15, 2016

Will have a look thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants