Replace -- with --- in npm commands

Resolves https://github.com/iptv-org/epg/issues/2354

Details: https://github.com/npm/cli/issues/3136
This commit is contained in:
freearhey 2024-12-15 17:32:49 +03:00
parent 9f89cd2160
commit 28c8e3d74f
203 changed files with 607 additions and 607 deletions

View file

@ -9,7 +9,7 @@ describe('channels:lint', () => {
it('will show a message if the file contains a syntax error', () => {
try {
const cmd =
'npm run channels:lint -- --channels=tests/__data__/input/channels-lint/channels-lint.channels.xml'
'npm run channels:lint --- --channels=tests/__data__/input/channels-lint/channels-lint.channels.xml'
execSync(cmd, { encoding: 'utf8' })
process.exit(1)
} catch (error) {