Skip to content

Commit f3073c5

Browse files
code sync up
1 parent 3c48a4f commit f3073c5

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/lib/ctx.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ export default (options: Record<string, string>): Context => {
104104
useGlobalCache: config.useGlobalCache ?? false,
105105
ignoreHTTPSErrors: config.ignoreHTTPSErrors ?? false,
106106
skipBuildCreation: config.skipBuildCreation ?? false,
107-
tunnel: tunnelObj,
108-
tunnelName: config.tunnelName || ''
107+
tunnel: tunnelObj
109108
},
110109
uploadFilePath: '',
111110
webStaticConfig: [],

src/lib/schemaValidation.ts

-4
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,6 @@ const ConfigSchema = {
244244
required: ["type"],
245245
additionalProperties: false
246246
},
247-
tunnelName: {
248-
type: "string",
249-
errorMessage: "Invalid config; tunnelName must be string"
250-
},
251247
},
252248
anyOf: [
253249
{ required: ["web"] },

0 commit comments

Comments
 (0)