Skip to content

Commit

Permalink
please the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonwells committed Oct 4, 2024
1 parent f272602 commit cd4fcdf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions js/api-augment/scripts/generate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ import { dirname } from 'path';
const __filename = fileURLToPath(import.meta.url);
// Get the directory name from the filename
const __dirname = dirname(__filename);
const outdir = path.join(__dirname,"../dist/json/");
const outdir = path.join(__dirname, '../dist/json/');

fs.mkdirSync( outdir, { recursive: true});

fs.writeFileSync(
path.join(outdir, "types.json"),
JSON.stringify(types, null, 4)
);
fs.mkdirSync(outdir, { recursive: true });

fs.writeFileSync(path.join(outdir, 'types.json'), JSON.stringify(types, null, 4));

0 comments on commit cd4fcdf

Please sign in to comment.