Update generated content

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-11-29 13:53:27 +01:00
parent c5ab17d6cd
commit 533d5c635e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
4 changed files with 1323 additions and 1403 deletions

2714
dist/index.js generated vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
import csvparse from 'csv-parse/lib/sync';
import {parse as csvparse} from 'csv-parse/sync';
import * as core from '@actions/core';
import {issueCommand} from '@actions/core/lib/command';
import * as fs from 'fs';
@ -49,7 +49,7 @@ export function getInputList(name: string, ignoreComma?: boolean): string[] {
for (let output of csvparse(items, {
columns: false,
relaxColumnCount: true,
skipLinesWithEmptyValues: true
skipRecordsWithEmptyValues: true
}) as Array<string[]>) {
if (output.length == 1) {
res.push(output[0]);

View File

@ -1,5 +1,5 @@
import {parse as csvparse} from 'csv-parse/sync';
import * as core from '@actions/core';
import csvparse from 'csv-parse/lib/sync';
export interface Flavor {
latest: string;
@ -21,7 +21,7 @@ export function Transform(inputs: string[]): Flavor {
for (const input of inputs) {
const fields = csvparse(input, {
relaxColumnCount: true,
skipLinesWithEmptyValues: true
skipRecordsWithEmptyValues: true
})[0];
let onlatestfor = '';
for (const field of fields) {

View File

@ -1,4 +1,4 @@
import csvparse from 'csv-parse/lib/sync';
import {parse as csvparse} from 'csv-parse/sync';
import * as core from '@actions/core';
export enum Type {
@ -88,7 +88,7 @@ export function Transform(inputs: string[]): Tag[] {
export function Parse(s: string): Tag {
const fields = csvparse(s, {
relaxColumnCount: true,
skipLinesWithEmptyValues: true
skipRecordsWithEmptyValues: true
})[0];
const tag = new Tag();