From f4d43443b97aba7ec3719d73ea7a58cd58c9444d Mon Sep 17 00:00:00 2001 From: Xmader Date: Sun, 29 Nov 2020 18:08:03 -0500 Subject: [PATCH] feat: remove the question mark in cli msg for people don't know regexp --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index b0af2d5..979a0f5 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -14,7 +14,7 @@ const inquirer: typeof import('inquirer') = require('inquirer') const ora: typeof import('ora') = require('ora') const chalk: typeof import('chalk') = require('chalk') -const SCORE_URL_PREFIX = 'https://(s.)?musescore.com/' +const SCORE_URL_PREFIX = 'https://(s.)musescore.com/' const SCORE_URL_REG = /https:\/\/(s\.)?musescore\.com\// const EXT = '.mscz'