-
-
Notifications
You must be signed in to change notification settings - Fork 201
Difference in hookArgs.prepareData.platform #4963
Copy link
Copy link
Closed
Labels
bugdebughooksDescribes issues related to hooksDescribes issues related to hooksprepareDescribes issues related to prepare commandDescribes issues related to prepare commandpreviewDescribes issues related to preview commandDescribes issues related to preview commandrunDescribes issues related to run commandDescribes issues related to run commandunit testing
Milestone
Metadata
Metadata
Assignees
Labels
bugdebughooksDescribes issues related to hooksDescribes issues related to hooksprepareDescribes issues related to prepare commandDescribes issues related to prepare commandpreviewDescribes issues related to preview commandDescribes issues related to preview commandrunDescribes issues related to run commandDescribes issues related to run commandunit testing
Environment
Provide version numbers for the following components (information can be retrieved by running
tns infoin your project folder or by inspecting thepackage.jsonof the project):Describe the bug
There is a difference in the casing of the platform that is sent to an
after-preparehook.To Reproduce
Create a simple plugin with an
after-preparehook having the following:Execute:
Output:
Execute:
Output:
Expected behavior
The
platformshould be made consistent no matter which CLI command you are executing.Sample project
Additional context