Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix runner-v3's NodeScriptAsset and NodeTextAsset to allow empty string #294

Merged
merged 2 commits into from
Sep 10, 2021

Conversation

ShinobuTakahashi
Copy link
Contributor

概要

headless-driver-runner-v3 の NoteScriptAsset, NodeTextAsset で空文字を許容するようにします。
if (!text){... で空文字もはじかれてエラーとなるため、text == null に修正し空文字を許容します。

loader._onAssetError(this, {
name: "AssetLoadError",
message: "NoteScriptAsset#_load(): No data received",
message: "NodeTextAsset#_load(): No data received",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

エラーメッセージのクラス名修正

@ShinobuTakahashi ShinobuTakahashi added the bug Something isn't working label Sep 10, 2021
Copy link
Contributor

@yu-ogi yu-ogi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PullRequest のタイトルがよくわからなくなっているので書き直していただけないでしょうか。

@ShinobuTakahashi ShinobuTakahashi changed the title Fix allow v3 empty string asset Fix runner-v3's NodeScriptAsset and NodeTextAsset to allow empty string Sep 10, 2021
@ShinobuTakahashi ShinobuTakahashi merged commit 056e44d into master Sep 10, 2021
@ShinobuTakahashi ShinobuTakahashi deleted the fix-allow-v3-empty-string-asset branch September 10, 2021 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants