Skip to content

Commit

Permalink
generalised CDN path
Browse files Browse the repository at this point in the history
  • Loading branch information
marklundin committed Jul 24, 2024
1 parent 7292596 commit a27abe2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/ts-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ import { knownLibFilesForCompilerOptions } from '@typescript/vfs';
import ts from 'typescript';
import { ParsingError } from '../parsers/parsing-error.js';

export function createDefaultMapFromCDN(options, basePath, ts) {
export function createDefaultMapFromCDN(options, prefix, ts) {
var fsMap = new Map();
var files = knownLibFilesForCompilerOptions(options, ts);
var prefix = `${basePath}js/jsdoc-parser/types/`;

async function uncached() {
const contentPromises = files.map((lib) => {
Expand Down

0 comments on commit a27abe2

Please sign in to comment.