Skip to content

fix: before-preview-sync hook has incorrect args #4803

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

Merged
merged 1 commit into from
Jul 4, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov commented Jul 4, 2019

The before-preview-sync hook has incorrect args - instead of having hookArgs, it has an object with data. This causes issues in all plugins which are using it. Get back the correct structure and add projectData as it is being used by kinvey-nativescript-sdk's hook.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

The `before-preview-sync` hook has incorrect args - instead of having `hookArgs`, it has an object with data. This causes issues in all plugins which are using it. Get back the correct structure and add `projectData` as it is being used by kinvey-nativescript-sdk's hook.
@rosen-vladimirov rosen-vladimirov requested a review from Fatme July 4, 2019 08:19
@rosen-vladimirov rosen-vladimirov self-assigned this Jul 4, 2019
@rosen-vladimirov
Copy link
Contributor Author

test cli-preview package_version#rc

2 similar comments
@rosen-vladimirov
Copy link
Contributor Author

test cli-preview package_version#rc

@rosen-vladimirov
Copy link
Contributor Author

test cli-preview package_version#rc

@rosen-vladimirov rosen-vladimirov merged commit 5c8d509 into release Jul 4, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-preview-hook branch July 4, 2019 11:52
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