Remove extra newline

This commit is contained in:
Shivam Mathur 2020-05-21 23:31:12 +05:30
parent 49b8b7e301
commit b419442896
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 6 additions and 6 deletions

6
dist/index.js vendored
View File

@ -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('-');

View File

@ -15,7 +15,7 @@ export async function addExtensionDarwin(
): Promise<string> {
const extensions: Array<string> = 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<string> {
const extensions: Array<string> = 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<string> {
const extensions: Array<string> = 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('-');