File tree 2 files changed +4
-8
lines changed
adapter-cloudflare-workers 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,9 @@ export default function ({ config = 'wrangler.toml' } = {}) {
115
115
/ T h e p a c k a g e " ( .+ ) " w a s n ' t f o u n d o n t h e f i l e s y s t e m b u t i s b u i l t i n t o n o d e / . exec (
116
116
node . text
117
117
) ;
118
- if ( match ) {
119
- let id = match [ 1 ] ;
120
- if ( ! id . startsWith ( 'node:' ) ) id = `node:${ id } ` ;
121
118
122
- node . text = `Cannot use "${ id } " when deploying to Cloudflare.` ;
119
+ if ( match ) {
120
+ node . text = `Cannot use "${ match [ 1 ] } " when deploying to Cloudflare.` ;
123
121
}
124
122
}
125
123
}
Original file line number Diff line number Diff line change @@ -104,11 +104,9 @@ export default function (options = {}) {
104
104
/ T h e p a c k a g e " ( .+ ) " w a s n ' t f o u n d o n t h e f i l e s y s t e m b u t i s b u i l t i n t o n o d e / . exec (
105
105
node . text
106
106
) ;
107
- if ( match ) {
108
- let id = match [ 1 ] ;
109
- if ( ! id . startsWith ( 'node:' ) ) id = `node:${ id } ` ;
110
107
111
- node . text = `Cannot use "${ id } " when deploying to Cloudflare.` ;
108
+ if ( match ) {
109
+ node . text = `Cannot use "${ match [ 1 ] } " when deploying to Cloudflare.` ;
112
110
}
113
111
}
114
112
}
You can’t perform that action at this time.
0 commit comments