Skip to content

Commit

Permalink
Update packages/next/build/swc/jest.js
Browse files Browse the repository at this point in the history
Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
padmaia and ijjk committed Nov 5, 2021
1 parent f0d9418 commit ef622e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/swc/jest.js
Expand Up @@ -34,7 +34,7 @@ const { transformSync } = require('./index')
/**
* Loads closest package.json in the directory hierarchy
*/
function loadClosesPackageJson(attempts = 1) {
function loadClosestPackageJson(attempts = 1) {
if (attempts > 5) {
throw new Error("Can't resolve main package.json file")
}
Expand Down

0 comments on commit ef622e3

Please sign in to comment.