Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
refactor: Improve code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Mar 6, 2020
1 parent f974d97 commit 5794907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/module_resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class ModuleResolver implements ModuleResolverInterface {
) {
containingFile = normalizeFilepath(containingFile);
if (importMapsFile) {
importMapsFile = normalizeFilepath(importMapsFile);
this.importMapsFile = normalizeFilepath(importMapsFile);
}
assert(
path.isAbsolute(containingFile),
Expand Down
2 changes: 1 addition & 1 deletion server/src/dependency_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class DependencyTree {
ts.ScriptKind.TSX
);

const deps = await getImportModules(ts)(sourceFile);
const deps = getImportModules(ts)(sourceFile);

for (const dep of deps) {
if (!isHttpURL(dep.moduleName)) {
Expand Down

0 comments on commit 5794907

Please sign in to comment.