Skip to content

Commit

Permalink
Remove deprecations (#271)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Aug 7, 2024
1 parent ae55097 commit 72aced2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/cmd/launch_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,6 @@ void runLaunchCommand(const LaunchOptions &_opt)
std::string configPathEnv;
gz::common::env("GZ_LAUNCH_CONFIG_PATH", configPathEnv, true);

if (configPathEnv.empty())
{
// TODO(CH3): Deprecated. Remove on tock.
gz::common::env("IGN_LAUNCH_CONFIG_PATH", configPathEnv, true);
if (!configPathEnv.empty())
{
gzwarn << "Finding config using deprecated environment variable "
<< "[IGN_LAUNCH_CONFIG_PATH]. Please use "
<< "[GZ_LAUNCH_CONFIG_PATH] instead." << std::endl;
}
}

if (!configPathEnv.empty())
{
std::vector<std::string> paths =
Expand Down

0 comments on commit 72aced2

Please sign in to comment.