File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/commands/react_native Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ use crate::utils::sourcemaps::SourceMapProcessor;
1919
2020pub fn make_command ( command : Command ) -> Command {
2121 command
22- . about ( "Upload react-native projects for AppCenter." )
22+ . about ( "[DEPRECATED] Upload react-native projects for AppCenter." )
23+ . hide ( true )
2324 . org_arg ( )
2425 . project_arg ( false )
2526 . arg (
@@ -108,6 +109,9 @@ pub fn make_command(command: Command) -> Command {
108109}
109110
110111pub fn execute ( matches : & ArgMatches ) -> Result < ( ) > {
112+ eprintln ! ( "{}" , style( "⚠ DEPRECATION NOTICE: This functionality will be removed in a future version of `sentry-cli`. \
113+ Use the `sourcemaps upload` command instead.") . yellow( ) ) ;
114+
111115 let config = Config :: current ( ) ;
112116 let here = env:: current_dir ( ) ?;
113117 let here_str: & str = & here. to_string_lossy ( ) ;
You can’t perform that action at this time.
0 commit comments