Skip to content

Commit 8121236

Browse files
unity-cli@v1.0.11
- fix GraphQL log errors from unity hub
1 parent a84e2ab commit 8121236

3 files changed

Lines changed: 16 additions & 12 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rage-against-the-pixel/unity-cli",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "A command line utility for the Unity Game Engine.",
55
"author": "RageAgainstThePixel",
66
"license": "MIT",

src/unity-hub.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,19 @@ export class UnityHub {
8383
}
8484

8585
const ignoredLines = [
86-
`This error originated either by throwing inside of an async function without a catch block`,
87-
`Unexpected error attempting to determine if executable file exists`,
88-
`dri3 extension not supported`,
89-
`Failed to connect to the bus:`,
90-
`Checking for beta autoupdate feature for deb/rpm distributions`,
91-
`Found package-type: deb`,
92-
`XPC error for connection com.apple.backupd.sandbox.xpc: Connection invalid`,
93-
`Error: No modules found to install.`,
94-
`Failed to execute the command due the following, please see '-- --headless help' for assistance.`
86+
'This error originated either by throwing inside of an async function without a catch block',
87+
'Unexpected error attempting to determine if executable file exists',
88+
'dri3 extension not supported',
89+
'Failed to connect to the bus:',
90+
'Checking for beta autoupdate feature for deb/rpm distributions',
91+
'Found package-type: deb',
92+
'XPC error for connection com.apple.backupd.sandbox.xpc: Connection invalid',
93+
'Error: No modules found to install.',
94+
'Failed to execute the command due the following, please see \'-- --headless help\' for assistance.',
95+
'Invalid key: The GraphQL query at the field at',
96+
'You have to request `id` or `_id` fields for all selection sets or create a custom `keys` config for `UnityReleaseLabel`.',
97+
'Entities without keys will be embedded directly on the parent entity. If this is intentional, create a `keys` config for `UnityReleaseLabel` that always returns null.',
98+
'https://bit.ly/2XbVrpR#15'
9599
];
96100

97101
try {

0 commit comments

Comments
 (0)