Skip to content

Commit

Permalink
chore: use js extension (#8804)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Aug 17, 2022
1 parent 02e1eea commit b80beec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions utils/.eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions utils/generate_docs.ts
Expand Up @@ -17,8 +17,8 @@
import {readFile, writeFile} from 'fs/promises';
import rimraf from 'rimraf';
import semver from 'semver';
import {generateDocs} from './internal/custom_markdown_action';
import {job} from './internal/job';
import {generateDocs} from './internal/custom_markdown_action.js';
import {job} from './internal/job.js';

function getOffsetAndLimit(
sectionName: string,
Expand Down
2 changes: 1 addition & 1 deletion utils/generate_sources.ts
Expand Up @@ -3,7 +3,7 @@ import esbuild from 'esbuild';
import {mkdir, mkdtemp, readFile, writeFile} from 'fs/promises';
import path from 'path';
import rimraf from 'rimraf';
import {job} from './internal/job';
import {job} from './internal/job.js';

(async () => {
await job('', async ({outputs}) => {
Expand Down
2 changes: 1 addition & 1 deletion utils/internal/custom_markdown_action.ts
Expand Up @@ -15,7 +15,7 @@
*/

import {ApiModel} from '@microsoft/api-extractor-model';
import {MarkdownDocumenter} from './custom_markdown_documenter';
import {MarkdownDocumenter} from './custom_markdown_documenter.js';

export const generateDocs = (jsonPath: string, outputDir: string): void => {
const apiModel = new ApiModel();
Expand Down

0 comments on commit b80beec

Please sign in to comment.