diff --git a/bin/helpers/constants.js b/bin/helpers/constants.js index 0f89948a..df4804c7 100644 --- a/bin/helpers/constants.js +++ b/bin/helpers/constants.js @@ -89,7 +89,7 @@ const messageTypes = { const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip']; -const filesToIgnoreWhileUploading = ['node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json'] +const filesToIgnoreWhileUploading = ['**/node_modules/**', 'node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json'] module.exports = Object.freeze({ userMessages,