Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/debug-adapter/connection/androidConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,9 @@ export class AndroidConnection implements INSDebugConnection {
let messageId = this._nextId++;
return this.request("scripts", requestParams).then(response => {
return new Promise((resolve, reject) => {
// We request an array of IDs, we should expect an array of scripts.
response = response[0];

if (response.error) {
reject(response.error);
return;
Expand Down