From c8a2c81461af87dc13a6641898fc63eacbd5ced8 Mon Sep 17 00:00:00 2001 From: antoineludeau <52679050+antoineludeau@users.noreply.github.com> Date: Wed, 22 May 2024 10:52:20 +0200 Subject: [PATCH] Fixed legacy compose cli to get only string args --- lib/compose/cli.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compose/cli.cjs b/lib/compose/cli.cjs index dd5e6e53..2d1e2517 100755 --- a/lib/compose/cli.cjs +++ b/lib/compose/cli.cjs @@ -1,6 +1,6 @@ #!/usr/bin/env node require('dotenv').config() -const argv = require('minimist')(process.argv.slice(2)) +const argv = require('minimist')(process.argv.slice(2), {string: '_'}) const mongo = require('../util/mongo.cjs') const {getAskedComposition} = require('../models/commune.cjs') const {runInParallel} = require('../util/parallel.cjs')