diff --git a/dist/index.js b/dist/index.js index b9525f03..0d889f9b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2674,7 +2674,7 @@ const utils = __importStar(__webpack_require__(163)); async function addExtensionDarwin(extension_csv, version, pipe) { const extensions = await utils.extensionArray(extension_csv); let add_script = '\n'; - let remove_script = '\n'; + let remove_script = ''; await utils.asyncForEach(extensions, async function (extension) { const version_extension = version + extension; const [ext_name, ext_version] = extension.split('-'); @@ -2781,7 +2781,7 @@ exports.addExtensionDarwin = addExtensionDarwin; async function addExtensionWindows(extension_csv, version) { const extensions = await utils.extensionArray(extension_csv); let add_script = '\n'; - let remove_script = '\n'; + let remove_script = ''; await utils.asyncForEach(extensions, async function (extension) { const [ext_name, ext_version] = extension.split('-'); const version_extension = version + extension; @@ -2863,7 +2863,7 @@ exports.addExtensionWindows = addExtensionWindows; async function addExtensionLinux(extension_csv, version, pipe) { const extensions = await utils.extensionArray(extension_csv); let add_script = '\n'; - let remove_script = '\n'; + let remove_script = ''; await utils.asyncForEach(extensions, async function (extension) { const version_extension = version + extension; const [ext_name, ext_version] = extension.split('-'); diff --git a/src/extensions.ts b/src/extensions.ts index e0af6bef..1381cb79 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -15,7 +15,7 @@ export async function addExtensionDarwin( ): Promise { const extensions: Array = await utils.extensionArray(extension_csv); let add_script = '\n'; - let remove_script = '\n'; + let remove_script = ''; await utils.asyncForEach(extensions, async function (extension: string) { const version_extension: string = version + extension; const [ext_name, ext_version]: string[] = extension.split('-'); @@ -127,7 +127,7 @@ export async function addExtensionWindows( ): Promise { const extensions: Array = await utils.extensionArray(extension_csv); let add_script = '\n'; - let remove_script = '\n'; + let remove_script = ''; await utils.asyncForEach(extensions, async function (extension: string) { const [ext_name, ext_version]: string[] = extension.split('-'); const version_extension: string = version + extension; @@ -219,7 +219,7 @@ export async function addExtensionLinux( ): Promise { const extensions: Array = await utils.extensionArray(extension_csv); let add_script = '\n'; - let remove_script = '\n'; + let remove_script = ''; await utils.asyncForEach(extensions, async function (extension: string) { const version_extension: string = version + extension; const [ext_name, ext_version]: string[] = extension.split('-');