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

fix: optionsOrCallback could be undefined if not given, check before assign #401

Merged
merged 3 commits into from
Sep 19, 2018

Conversation

jkwlui
Copy link
Member

@jkwlui jkwlui commented Sep 19, 2018

This should fix system-test

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 19, 2018
@ghost ghost assigned jkwlui Sep 19, 2018
src/file.ts Outdated
@@ -435,6 +435,7 @@ class File extends ServiceObject {
* Another example:
*/
copy(destination: string|Bucket|File, callback: FileCallback);
copy(destination: string|Bucket|File, callback: FileCallback);

This comment was marked as spam.

This comment was marked as spam.

@jkwlui
Copy link
Member Author

jkwlui commented Sep 19, 2018

Look's like it didn't fix the system-test.

@jkwlui jkwlui changed the title optionsOrCallback could be undefined if not given, check before assign fix: optionsOrCallback could be undefined if not given, check before assign Sep 19, 2018
@jkwlui jkwlui merged commit 4658d4c into master Sep 19, 2018
@stephenplusplus stephenplusplus deleted the fix-system-test branch October 1, 2018 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants