Skip to content

Commit b1bd612

Browse files
committed
JS: Undo unused export
1 parent 26b7d57 commit b1bd612

File tree

1 file changed

+1
-1
lines changed
  • javascript/extractor/lib/typescript/src

1 file changed

+1
-1
lines changed

javascript/extractor/lib/typescript/src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { VirtualSourceRoot } from "./virtual_source_root";
99
const packageNameRex = /^(?:@[\w.-]+[/\\]+)?\w[\w.-]*(?=[/\\]|$)/;
1010
const extensions = ['.ts', '.tsx', '.d.ts', '.js', '.jsx'];
1111

12-
export function getPackageName(importString: string) {
12+
function getPackageName(importString: string) {
1313
let packageNameMatch = packageNameRex.exec(importString);
1414
if (packageNameMatch == null) return null;
1515
let packageName = packageNameMatch[0];

0 commit comments

Comments
 (0)