From c7e3b0d44576b14cdce9000f1b71d2c857cf9ee1 Mon Sep 17 00:00:00 2001 From: Daria Terekhova <98411986+dariaterekhova-actionengine@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:48:04 +0300 Subject: [PATCH] Returning --slpk for backward compatibility (#3138) --- modules/tile-converter/src/converter-cli.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/tile-converter/src/converter-cli.ts b/modules/tile-converter/src/converter-cli.ts index 78e57bb367..c614075eeb 100644 --- a/modules/tile-converter/src/converter-cli.ts +++ b/modules/tile-converter/src/converter-cli.ts @@ -395,6 +395,10 @@ function parseOptions(args: string[]): TileConversionOptions { case '--help': printHelp(); break; + // we need this option for backward compatibility + // do nothing but don't throw the error + case '--slpk': + break; default: console.warn(`Unknown option ${arg}`); process.exit(0); // eslint-disable-line