mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Remove extra newline
This commit is contained in:
parent
49b8b7e301
commit
b419442896
6
dist/index.js
vendored
6
dist/index.js
vendored
@ -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('-');
|
||||
|
@ -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('-');
|
||||
|
Loading…
Reference in New Issue
Block a user