Skip to content

Commit 5a1ddb2

Browse files
authored
fix(twilio-run): remove key/value check from env:import command (#446)
1 parent c849a95 commit 5a1ddb2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/twilio-run/src/config/env/env-import.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,6 @@ export async function getConfigFromFlags(
7979

8080
let serviceName = await getServiceNameFromFlags(flags);
8181

82-
if (!flags.key) {
83-
throw new Error(
84-
'Missing --key argument. Please provide a key for your environment variable.'
85-
);
86-
}
87-
88-
if (!flags.value) {
89-
throw new Error(
90-
'Missing --value argument. Please provide a key for your environment variable.'
91-
);
92-
}
93-
9482
const env = filterEnvVariablesForDeploy(envFileVars);
9583

9684
return {

0 commit comments

Comments
 (0)