Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelgrosso1 committed Jul 24, 2023
1 parent d48a822 commit 46bef73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import * as fs from 'fs';
import * as http from 'http';
import * as mime from 'mime-types';
import * as path from 'path';
import pLimit = require('p-limit');
import * as pLimit from 'p-limit';
import {promisify} from 'util';
import retry = require('async-retry');
import {convertObjKeysToSnakeCase} from './util';
Expand Down Expand Up @@ -309,7 +309,7 @@ export interface BucketMetadata extends BaseMetadata {
};
};
labels?: {
[key: string]: string;
[key: string]: string | null;
};
lifecycle?: {
rule?: LifecycleRule[];
Expand Down
4 changes: 2 additions & 2 deletions system-test/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import * as crypto from 'crypto';
import * as fs from 'fs';
import fetch from 'node-fetch';
import * as FormData from 'form-data';
import pLimit = require('p-limit');
import * as pLimit from 'p-limit';
import {promisify} from 'util';
import * as path from 'path';
import * as tmp from 'tmp';
Expand Down Expand Up @@ -1108,7 +1108,7 @@ describe('storage', () => {

it('should be available from updating a bucket', async () => {
await bucket.setMetadata({labels: {a: 'b'}});
assert(types.includes(bucket.metadata.locationType));
assert(types.includes(bucket.metadata.locationType!));
});
});

Expand Down

0 comments on commit 46bef73

Please sign in to comment.