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;
19
19
20
20
pub fn make_command ( command : Command ) -> Command {
21
21
command
22
- . about ( "Upload react-native projects for AppCenter." )
22
+ . about ( "[DEPRECATED] Upload react-native projects for AppCenter." )
23
+ . hide ( true )
23
24
. org_arg ( )
24
25
. project_arg ( false )
25
26
. arg (
@@ -108,6 +109,9 @@ pub fn make_command(command: Command) -> Command {
108
109
}
109
110
110
111
pub 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
+
111
115
let config = Config :: current ( ) ;
112
116
let here = env:: current_dir ( ) ?;
113
117
let here_str: & str = & here. to_string_lossy ( ) ;
You can’t perform that action at this time.
0 commit comments