mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
upgrade: Rust 1.39.0 (#3286)
This commit is contained in:
parent
709cb3c9ba
commit
2cf0866ba3
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: Install rust
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: "1.38.0"
|
||||
rust-version: "1.39.0"
|
||||
|
||||
- name: Install clippy and rustfmt
|
||||
if: matrix.kind == 'lint'
|
||||
|
|
|
@ -580,7 +580,7 @@ impl SourceMapGetter for TsCompiler {
|
|||
fn get_source_map(&self, script_name: &str) -> Option<Vec<u8>> {
|
||||
self
|
||||
.try_to_resolve_and_get_source_map(script_name)
|
||||
.and_then(|out| Some(out.source_code))
|
||||
.map(|out| out.source_code)
|
||||
}
|
||||
|
||||
fn get_source_line(&self, script_name: &str, line: usize) -> Option<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue