Skip to content

Commit ed5ab59

Browse files
authored
fix: remove confusing error log (#292)
1 parent 5306f08 commit ed5ab59

File tree

2 files changed

+29
-54
lines changed

2 files changed

+29
-54
lines changed

package-lock.json

Lines changed: 27 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin/src/helpers/files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export const findModuleFromBase = ({ paths, candidates }): string | null => {
5959
if (modulePath) {
6060
return dirname(modulePath)
6161
}
62-
} catch (error) {
63-
console.error(error)
62+
} catch {
63+
// Ignore error
6464
}
6565
}
6666
return null

0 commit comments

Comments
 (0)