diff options
Diffstat (limited to 'src/api/schema.js')
-rw-r--r-- | src/api/schema.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.js b/src/api/schema.js index 67852d027..2a1fd8c1d 100644 --- a/src/api/schema.js +++ b/src/api/schema.js @@ -2902,6 +2902,10 @@ function decodeBunInstall(bb) { result["disable_manifest_cache"] = !!bb.readByte(); break; + case 17: + result["global_dir"] = bb.readString(); + break; + default: throw new Error("Attempted to parse invalid message"); } @@ -3010,6 +3014,12 @@ function encodeBunInstall(message, bb) { bb.writeByte(16); bb.writeByte(value); } + + var value = message["global_dir"]; + if (value != null) { + bb.writeByte(17); + bb.writeString(value); + } bb.writeByte(0); } |