-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(git): avoid reading files concurrently (#66)
- Loading branch information
Showing
13 changed files
with
246 additions
and
279 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,43 @@ | ||
export const snapshot = {}; | ||
|
||
snapshot[`writeAll > direct import 1`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.1/mod.ts"; | ||
'import { VERSION } from "https://deno.land/std@0.205.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.2/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
' | ||
import { noop } from "./lib.ts";' | ||
`; | ||
|
||
snapshot[`writeAll > direct import 2`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
' | ||
'import { VERSION } from "https://deno.land/std@0.205.0/version.ts"; | ||
export const noop = () => {};' | ||
`; | ||
|
||
snapshot[`writeAll > import map 1`] = ` | ||
'{ | ||
"imports": { | ||
"std/": "https://deno.land/std@0.200.0/", | ||
"deno_graph": "https://deno.land/x/deno_graph@0.59.1/mod.ts", | ||
"deno_graph": "https://deno.land/x/deno_graph@0.59.2/mod.ts", | ||
"node-emoji": "npm:node-emoji@2.1.0", | ||
"/": "./" | ||
} | ||
}' | ||
`; | ||
|
||
snapshot[`writeAll > import map 2`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
' | ||
'import { VERSION } from "https://deno.land/std@0.205.0/version.ts"; | ||
export const noop = () => {};' | ||
`; | ||
|
||
snapshot[`writeAll > import map with no resolve 1`] = ` | ||
'import {} from "https://deno.land/std@0.204.0/version.ts"; | ||
' | ||
`; | ||
snapshot[`writeAll > import map with no resolve 1`] = `'import {} from "https://deno.land/std@0.205.0/version.ts";'`; | ||
|
||
snapshot[`writeAll > unversioned specifiers 1`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.1/mod.ts"; | ||
'import { VERSION } from "https://deno.land/std@0.205.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.2/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
' | ||
import { noop } from "./lib.ts";' | ||
`; | ||
|
||
snapshot[`writeAll > unversioned specifiers 2`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
' | ||
'import { VERSION } from "https://deno.land/std@0.205.0/version.ts"; | ||
export const noop = () => {};' | ||
`; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.