Skip to content

Commit

Permalink
Comments, TODOs and missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannmoinet committed Jan 14, 2025
1 parent e6f8db7 commit 74d2575
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugins/error-tracking/src/sourcemaps/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const prefixRepeat = (filePath: string, prefix: string): string => {
let result = '';

for (let i = 0; i < prefixParts.length; i += 1) {
// TODO: Check compatibility with Windows paths.
const partialPrefix = prefixParts.slice(-i).join('/');
if (normalizedPath.startsWith(partialPrefix)) {
result = partialPrefix;
Expand Down
1 change: 1 addition & 0 deletions packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"dependencies": {
"@datadog/esbuild-plugin": "workspace:*",
"@datadog/rollup-plugin": "workspace:*",
"@datadog/rspack-plugin": "workspace:*",
"@datadog/vite-plugin": "workspace:*",
"@datadog/webpack-plugin": "workspace:*",
"@dd/core": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/tests/src/_jest/setupAfterEnv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ declare global {
nock.disableNetConnect();

// Have a simpler, less verbose, console.log output.
// This bypasses Jest's --silent flag though.
global.console = console;

0 comments on commit 74d2575

Please sign in to comment.