From b1e753599f8f9b7caa97414e8145ecc41fcb9e50 Mon Sep 17 00:00:00 2001 From: Daria Terekhova Date: Thu, 17 Oct 2024 20:28:14 +0300 Subject: [PATCH] Returning --slpk for backward compatibility --- 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