opensearch-project / security-analytics-dashboards-plugin

Front end (UI) plugin to support security-analytics
Apache License 2.0
8 stars 41 forks source link

Added check before running husky install during post install #1000

Closed amsiglan closed 2 months ago

amsiglan commented 2 months ago

Description

During bootstrap, postinstall script in OSD triggers the postinstall script of all the children repos due to which the path from the security analytics' script gets called is not setup correctly. This PR adds a check to ensure the husky install only runs when running from within the SA repo during first time setup for development.

Issues Resolved

987

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

amsiglan commented 2 months ago

Test failure for Windows unrelated to the change in this PR