Skip to content

Commit

Permalink
[WIP] Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Dec 9, 2019
1 parent 83d855f commit 27aedbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions cli/js/bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ export function buildBundle(
}

/** Set the rootExports which will by the `emitBundle()` */
export function setRootExports(
program: ts.Program,
rootModule: string
): void {
export function setRootExports(program: ts.Program, rootModule: string): void {
// get a reference to the type checker, this will let us find symbols from
// the AST.
const checker = program.getTypeChecker();
Expand Down
4 changes: 2 additions & 2 deletions cli/ops/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ fn op_resolve_modules(
let mut specifiers = vec![];

for specifier in &args.specifiers {
let resolved_specifier = state
.resolve(specifier, &referrer, is_main, is_dyn_import);
let resolved_specifier =
state.resolve(specifier, &referrer, is_main, is_dyn_import);
match resolved_specifier {
Ok(ms) => specifiers.push(ms.as_str().to_owned()),
Err(err) => return Err(err),
Expand Down

0 comments on commit 27aedbc

Please sign in to comment.