Skip to content

Commit

Permalink
fix: escape /*/ in method comments (#178)
Browse files Browse the repository at this point in the history
* escape /*/ in method comments

* change install library timeout
  • Loading branch information
xiaozhenliu-gg5 authored and alexander-fenster committed Dec 17, 2019
1 parent ef7482f commit 599e23c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/typescript_gapic/_util.njk
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ limitations under the License.
{%- macro printCommentsForMethod(method) -%}
{%- set lines = method.comments -%}
{% for line in lines %}
*{{ line | safe}}
*{{ line.replaceAll('*/', '* /') | safe}}
{%- endfor %}
{%- endmacro -%}

Expand Down
2 changes: 1 addition & 1 deletion typescript/test/test_application/test_ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const TS_TEST_APPLICATION = path.join(
describe('TestApplication', () => {
describe('Test application for ts users', () => {
it('npm install showcase', async function() {
this.timeout(30000);
this.timeout(60000);
// copy protos to generated client library and copy test application to local.
if (!fs.existsSync(path.join(SHOWCASE_LIB, 'protos'))) {
fs.copySync(PROTOS, path.join(SHOWCASE_LIB, 'protos'));
Expand Down

0 comments on commit 599e23c

Please sign in to comment.