File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ - Adds ` hosting:sites:<create|get|list|delete> ` commands to allow managing Hosting Sites.
12- Fixes extra logging and race conditions when disabling emulated background functions.
Original file line number Diff line number Diff line change @@ -100,13 +100,11 @@ module.exports = function (client) {
100100 client . hosting . channel . open = loadCommand ( "hosting-channel-open" ) ;
101101 client . hosting . clone = loadCommand ( "hosting-clone" ) ;
102102 client . hosting . disable = loadCommand ( "hosting-disable" ) ;
103- if ( previews . hostingsites ) {
104- client . hosting . sites = { } ;
105- client . hosting . sites . create = loadCommand ( "hosting-sites-create" ) ;
106- client . hosting . sites . delete = loadCommand ( "hosting-sites-delete" ) ;
107- client . hosting . sites . get = loadCommand ( "hosting-sites-get" ) ;
108- client . hosting . sites . list = loadCommand ( "hosting-sites-list" ) ;
109- }
103+ client . hosting . sites = { } ;
104+ client . hosting . sites . create = loadCommand ( "hosting-sites-create" ) ;
105+ client . hosting . sites . delete = loadCommand ( "hosting-sites-delete" ) ;
106+ client . hosting . sites . get = loadCommand ( "hosting-sites-get" ) ;
107+ client . hosting . sites . list = loadCommand ( "hosting-sites-list" ) ;
110108 client . init = loadCommand ( "init" ) ;
111109 client . login = loadCommand ( "login" ) ;
112110 client . login . ci = loadCommand ( "login-ci" ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ interface PreviewFlags {
66 ext : boolean ;
77 extdev : boolean ;
88 rtdbmanagement : boolean ;
9- hostingsites : boolean ;
109}
1110
1211export const previews : PreviewFlags = Object . assign (
@@ -16,7 +15,6 @@ export const previews: PreviewFlags = Object.assign(
1615 ext : false ,
1716 extdev : false ,
1817 rtdbmanagement : false ,
19- hostingsites : false ,
2018 } ,
2119 configstore . get ( "previews" )
2220) ;
You can’t perform that action at this time.
0 commit comments