You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 7.1.0, the _transform handler would return early when options.states is set and file.s3.state was not found in options.states.
In the latest version, there isn't a check to see if states is passed in. So it ends up being an empty array that's used to create an allowedStates that is also now empty. There should be a check to see if allowedStates has values included with the allowedStates.has(file.s3.state) check before deciding to return early.
The text was updated successfully, but these errors were encountered:
jlafaytfg
added a commit
to jlafaytfg/gulp-awspublish
that referenced
this issue
Nov 15, 2024
In 7.1.0, the _transform handler would return early when options.states is set and file.s3.state was not found in options.states.
In the latest version, there isn't a check to see if
states
is passed in. So it ends up being an empty array that's used to create anallowedStates
that is also now empty. There should be a check to see ifallowedStates
has values included with theallowedStates.has(file.s3.state)
check before deciding to return early.The text was updated successfully, but these errors were encountered: