Skip to content

Commit

Permalink
Merge pull request #216 from soxhub/remove-noisy-log
Browse files Browse the repository at this point in the history
Remove noisy log
  • Loading branch information
NullVoxPopuli authored Jun 6, 2024
2 parents 8affdd3 + f2b072f commit a03588e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions ember-scoped-css/src/lib/path/hash-from-absolute-path.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ describe('hashFromAbsolutePath', () => {
file,
);

// eslint-disable-next-line no-console
console.log(filePath);

let postfix = hashFromAbsolutePath(filePath);

expect(postfix).to.equal(expected);
Expand Down
6 changes: 2 additions & 4 deletions ember-scoped-css/src/lib/path/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,8 @@ export function isRelevantFile(fileName, additionalRoots) {
}

// Ideally, we never get here -- indicates we're not filtering effectively in babel
console.warn(
`[ScopedCSS]: transformation is attempting too late. Cannot operate on output file: ${fileName}`,
);

// NOTE: if we get here, we're trying to operate on a file too late.
// we need ScopedCSS to operate as close to original source as possible -- not output files.
return false;
}
}
Expand Down

0 comments on commit a03588e

Please sign in to comment.