Compare commits
2 Commits
v1.1.1
...
dcaa4a7365
Author | SHA1 | Date | |
---|---|---|---|
dcaa4a7365
|
|||
3e48f9c97c
|
@@ -15,6 +15,14 @@ inputs:
|
||||
description: The Minecraft version to use. If not specified or set to 'auto', will try to use the version indicated in `pack.mcmeta`
|
||||
required: false
|
||||
default: 'auto'
|
||||
reportAllErrors:
|
||||
description: Whether to report all errors or only the first one
|
||||
required: false
|
||||
default: 'false'
|
||||
verbose:
|
||||
description: Whether to provide details on errors or just the number of errors
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
using: 'node20'
|
||||
|
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -87625,7 +87625,7 @@ class CustomService extends Service {
|
||||
`- Function: ${funcFiles.length}`);
|
||||
let success = true;
|
||||
for (const jsonFile of jsonFiles) {
|
||||
if (!this.checkFile(jsonFile, "json")) {
|
||||
if (!(await this.checkFile(jsonFile, "json"))) {
|
||||
success = false;
|
||||
if (!this.options.reportAllErrors) {
|
||||
return false;
|
||||
@@ -87633,7 +87633,7 @@ class CustomService extends Service {
|
||||
}
|
||||
}
|
||||
for (const funcFile of funcFiles) {
|
||||
if (!this.checkFile(funcFile, "mcfunction")) {
|
||||
if (!(await this.checkFile(funcFile, "mcfunction"))) {
|
||||
success = false;
|
||||
if (!this.options.reportAllErrors) {
|
||||
return false;
|
||||
|
@@ -166,7 +166,7 @@ export class CustomService extends core.Service {
|
||||
)
|
||||
let success = true
|
||||
for (const jsonFile of jsonFiles) {
|
||||
if (!this.checkFile(jsonFile, "json")) {
|
||||
if (!(await this.checkFile(jsonFile, "json"))) {
|
||||
success = false
|
||||
if (!this.options.reportAllErrors) {
|
||||
return false
|
||||
@@ -174,7 +174,7 @@ export class CustomService extends core.Service {
|
||||
}
|
||||
}
|
||||
for (const funcFile of funcFiles) {
|
||||
if (!this.checkFile(funcFile, "mcfunction")) {
|
||||
if (!(await this.checkFile(funcFile, "mcfunction"))) {
|
||||
success = false
|
||||
if (!this.options.reportAllErrors) {
|
||||
return false
|
||||
|
Reference in New Issue
Block a user