When inspecting my plugin using plugin inspector, I have some of directories that need to be exclude or else the inspector result will be too many.
The directory that I need to exclude is folder like node_modules which is used to help with development but will not be included in plugin distribution itself.
You should be using $_POST['excerpt'] not get_the_excerpt( $post_id )since the post haven’t been save yet so the excerpt value is not there yet