File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/wrangler/src/secret Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " wrangler " : patch
3+ ---
4+
5+ chore: move printWranglerBanner for secret delete into handler
Original file line number Diff line number Diff line change @@ -249,7 +249,6 @@ export const secret = (secretYargs: CommonYargsArgv) => {
249249 "delete <key>" ,
250250 "Delete a secret variable from a Worker" ,
251251 async ( yargs ) => {
252- await printWranglerBanner ( ) ;
253252 return yargs
254253 . positional ( "key" , {
255254 describe : "The variable name to be accessible in the Worker" ,
@@ -262,6 +261,7 @@ export const secret = (secretYargs: CommonYargsArgv) => {
262261 } ) ;
263262 } ,
264263 async ( args ) => {
264+ await printWranglerBanner ( ) ;
265265 const config = readConfig ( args . config , args ) ;
266266 if ( config . pages_build_output_dir ) {
267267 throw new UserError (
You can’t perform that action at this time.
0 commit comments