Skip to content

Commit

Permalink
Update prettier and run tools/format.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Jun 4, 2019
1 parent 4fc69b1 commit 8977c3f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/diagnostics.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
//! This module encodes TypeScript errors (diagnostics) into Rust structs and
//! This module encodes TypeScript errors (diagnostics) into Rust structs and
//! contains code for printing them to the console.
use crate::ansi;
use serde_json;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eslint-config-prettier": "4.1.0",
"flatbuffers": "1.9.0",
"magic-string": "0.25.2",
"prettier": "1.16.4",
"prettier": "1.17.1",
"rollup": "1.4.1",
"rollup-plugin-alias": "1.5.1",
"rollup-plugin-analyzer": "3.0.0",
Expand Down
8 changes: 3 additions & 5 deletions tests/013_dynamic_import.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
(async (): Promise<void> => {
const {
returnsHi,
returnsFoo2,
printHello3
} = await import("./subdir/mod1.ts");
const { returnsHi, returnsFoo2, printHello3 } = await import(
"./subdir/mod1.ts"
);

printHello3();

Expand Down

0 comments on commit 8977c3f

Please sign in to comment.