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

Export to Gist #2522

Merged
merged 3 commits into from
Jan 13, 2020
Merged

Export to Gist #2522

merged 3 commits into from
Jan 13, 2020

Conversation

yann300
Copy link
Collaborator

@yann300 yann300 commented Jan 9, 2020

If "id" is not defined, it is not a gist update but a creation. we have to take the file from the browser explorer.
How could we add browser test for this? (cause we are testing against an external provider) @LianaHus @Aniket-Engg

if "id" is not defined, it is not a gist update but a creation. we have to take the file from the browser explorer
@@ -470,7 +470,8 @@ fileExplorer.prototype.toGist = function (id) {
return data.files || []
}

this.packageFiles(this.files, 'browser/gists/' + id, (error, packaged) => {
const folder = id ? 'browser/gists/' + id : 'browser/'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to have the comment here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"If 'id' is not defined, it is not a gist update but a creation. we have to take the file from the browser explorer."

@yann300 yann300 force-pushed the yann300-patch-2 branch 7 times, most recently from 5a2252a to e08abd5 Compare January 10, 2020 12:22
@yann300 yann300 requested a review from LianaHus January 13, 2020 09:48
@yann300 yann300 merged commit 9456645 into master Jan 13, 2020
@yann300 yann300 deleted the yann300-patch-2 branch January 13, 2020 11:43
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

Successfully merging this pull request may close these issues.

2 participants