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

build: update Node.js version and base Debian version #1793

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
digest: sha256:ef104a520c849ffde60495342ecf099dfb6256eab0fbd173228f447bc73d1aa9
# created: 2023-07-10T21:36:52.433664553Z
digest: sha256:aeccbef8061fc122542e8f381c4e7b66b32e23dda522e94c68346585dc408f0d
# created: 2023-08-03T18:13:22.932171473Z
1,493 changes: 1,493 additions & 0 deletions protos/protos.d.ts

Large diffs are not rendered by default.

3,853 changes: 3,853 additions & 0 deletions protos/protos.js

Large diffs are not rendered by default.

292 changes: 292 additions & 0 deletions protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
* may be added or removed at any time, without warning.
*/
export class DebugMessage {
constructor(public message: string, public error?: Error) {}
constructor(

Check failure on line 32 in src/debug.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎····public·message:·string,⏎····public·error?:·Error⏎··` with `public·message:·string,·public·error?:·Error`
public message: string,
public error?: Error
) {}
}
13 changes: 8 additions & 5 deletions src/iam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

export type TestIamPermissionsResponse = [
IamPermissionsMap,
IamProtos.google.iam.v1.ITestIamPermissionsResponse
IamProtos.google.iam.v1.ITestIamPermissionsResponse,

Check failure on line 48 in src/iam.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `,`
];
export type TestIamPermissionsCallback = ResourceCallback<
IamPermissionsMap,
Expand Down Expand Up @@ -387,10 +387,13 @@
const availablePermissions = arrify(resp!.permissions!);
const permissionHash: IamPermissionsMap = (
permissions as string[]
).reduce((acc, permission) => {
acc[permission] = availablePermissions.indexOf(permission) > -1;
return acc;
}, {} as {[key: string]: boolean});
).reduce(

Check failure on line 390 in src/iam.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `⏎··········`
(acc, permission) => {
acc[permission] = availablePermissions.indexOf(permission) > -1;

Check failure on line 392 in src/iam.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `··`
return acc;

Check failure on line 393 in src/iam.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `··`
},

Check failure on line 394 in src/iam.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `··},⏎··········{}·as·{[key:·string]:·boolean}⏎········` with `},·{}·as·{[key:·string]:·boolean}`
{} as {[key: string]: boolean}
);
callback!(null, permissionHash, resp!);
}
);
Expand Down
Loading