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

@ -14,7 +14,7 @@ if (os.platform() === 'win32') {
describe('channels:validate', () => {
it('will show a message if the file contains a duplicate', () => {
try {
const cmd = `${ENV_VAR} npm run channels:validate -- --channels=tests/__data__/input/channels-validate/duplicate.channels.xml`
const cmd = `${ENV_VAR} npm run channels:validate --- --channels=tests/__data__/input/channels-validate/duplicate.channels.xml`
execSync(cmd, { encoding: 'utf8' })
process.exit(1)
} catch (error) {
@ -39,7 +39,7 @@ tests/__data__/input/channels-validate/duplicate.channels.xml
it('will show a message if the file contains a channel with wrong xmltv_id', () => {
try {
const cmd = `${ENV_VAR} npm run channels:validate -- --channels=tests/__data__/input/channels-validate/wrong_xmltv_id.channels.xml`
const cmd = `${ENV_VAR} npm run channels:validate --- --channels=tests/__data__/input/channels-validate/wrong_xmltv_id.channels.xml`
execSync(cmd, { encoding: 'utf8' })
process.exit(1)
} catch (error) {