Skip to content

Commit

Permalink
fix: eslint ignore file path from root
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Feb 24, 2024
1 parent d330ce1 commit 36d0c37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ stats/
*.config.js
examples/chrome-extension/**/rudderAnalytics.js
examples/chrome-extension/**/foreground.js
/integrations/Ninetailed/sample-app/
testBookSuites/
tsconfig.build.tsbuildinfo
nativeSdkLoader.js
nativeSdkLoader.ts
packages/analytics-js-integrations/src/integrations/Ninetailed/sample-app/

assets/
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CONTRIBUTING.md
examples/chrome-extension/**/rudderAnalytics.js
examples/chrome-extension/**/foreground.js
examples/**/index.html
**/integrations/Ninetailed/sample-app/
packages/analytics-js-integrations/src/integrations/Ninetailed/sample-app/
**/public/index.html

/.nx/cache
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class Ninetailed {

identify(rudderElement) {
const { message } = rudderElement;
const { userId, traits, context } = message;
const userTraits = { ...traits, ...context?.traits };
const { userId, context } = message;
const userTraits = { ...context?.traits };
// for userId: until we don't pass the id to ninetailed, it will not make server identify call but is accepting the data
window.ninetailed.identify(userId, userTraits);
}
Expand Down

0 comments on commit 36d0c37

Please sign in to comment.