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

feat: add disclaimers for services with GAPICs/Veneers #2242

Merged
merged 4 commits into from
Jun 18, 2020
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
Prev Previous commit
Next Next commit
linty
  • Loading branch information
JustinBeckwith committed Jun 17, 2020
commit 1aef43868a819bf4bed9ccc893d0bc434b17f2c8
2 changes: 1 addition & 1 deletion src/generator/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import * as prettier from 'prettier';
import {downloadDiscoveryDocs, ChangeSet} from './download';
import * as filters from './filters';
import {addFragments} from './samplegen';
import { Disclaimer } from './disclaimer';
import {Disclaimer} from './disclaimer';

const writeFile = util.promisify(fs.writeFile);
const readDir = util.promisify(fs.readdir);
Expand Down
1 change: 0 additions & 1 deletion test/test.clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import * as assert from 'assert';
import {describe, it, before, beforeEach, afterEach} from 'mocha';
import {execSync} from 'child_process';
import {APIEndpoint} from 'googleapis-common';
import * as nock from 'nock';
import {GoogleApis, blogger_v3, oauth2_v2} from '../src';
import {Utils} from './utils';
Expand Down
2 changes: 1 addition & 1 deletion test/test.discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('GoogleApis#discover', () => {
const scope = nock(Utils.rootHost)
.get(Utils.rootPrefix)
.replyWithFile(200, './discovery/index.json');
const scope1 = nock(Utils.rootHost)
nock(Utils.rootHost)
.get('*')
.reply(200, (url, body, callback) => {
const paths = url.split('/');
Expand Down