Closed zachintosh closed 6 years ago
https://github.com/byuitechops/action-series-master/blob/6242a2ffc0f996c03860c1fecf92d3674e47ac5e/actions/universal-fix-dropbox-links.js#L166
If you are just looking to see if a string contains another string, use includes(). Cleans up the code and works a bit smoother.
includes()
Fixed with the latest pull request.
https://github.com/byuitechops/action-series-master/blob/6242a2ffc0f996c03860c1fecf92d3674e47ac5e/actions/universal-fix-dropbox-links.js#L166
If you are just looking to see if a string contains another string, use
includes()
. Cleans up the code and works a bit smoother.