File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/@tailwindcss-upgrade/src/codemods/template Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ export type Migration = (
30
30
designSystem : DesignSystem ,
31
31
userConfig : Config | null ,
32
32
rawCandidate : string ,
33
- location ?: {
34
- contents : string
35
- start : number
36
- end : number
37
- } ,
38
33
) => string | Promise < string >
39
34
40
35
export const DEFAULT_MIGRATIONS : Migration [ ] = [
@@ -66,7 +61,7 @@ let migrateCached = new DefaultMap<
66
61
return new DefaultMap ( ( userConfig ) => {
67
62
return new DefaultMap ( async ( rawCandidate ) => {
68
63
for ( let migration of DEFAULT_MIGRATIONS ) {
69
- rawCandidate = await migration ( designSystem , userConfig , rawCandidate , undefined )
64
+ rawCandidate = await migration ( designSystem , userConfig , rawCandidate )
70
65
}
71
66
return rawCandidate
72
67
} )
You can’t perform that action at this time.
0 commit comments