Skip to content

Commit

Permalink
Update Copyright (#130)
Browse files Browse the repository at this point in the history
Signed-off-by: 迷渡 <[email protected]>
  • Loading branch information
justjavac authored Jul 19, 2022
1 parent c220b2f commit b293c84
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions install.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env pwsh
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
# Copyright 2022 justjavac. All rights reserved. MIT license.
# TODO(everyone): Keep this script simple and easily auditable.

$ErrorActionPreference = 'Stop'
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2019 the Deno authors. All rights reserved. MIT license.
# Copyright 2020 justjavac. All rights reserved. MIT license.
# Copyright 2022 justjavac. All rights reserved. MIT license.
# TODO(everyone): Keep this script simple and easily auditable.

set -e
Expand Down
2 changes: 1 addition & 1 deletion src/commands/install.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2020-2021 justjavac. All rights reserved. MIT license.
// Copyright 2020-2022 justjavac. All rights reserved. MIT license.
use super::use_version;
use crate::consts::{DVM_CACHE_PATH_PREFIX, DVM_CANARY_PATH_PREFIX};
use crate::meta::DvmMeta;
Expand Down
4 changes: 2 additions & 2 deletions src/version.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use std::fmt::Formatter;
// Copyright 2020 justjavac. All rights reserved. MIT license.
// Copyright 2022 justjavac. All rights reserved. MIT license.
use crate::consts::{REGISTRY_LATEST_CANARY_PATH, REGISTRY_LATEST_RELEASE_PATH};
use crate::utils::{dvm_root, is_china_mainland, is_exact_version, is_semver};
use anyhow::Result;
use json_minimal::Json;
use semver::{Version, VersionReq};
use std::fmt::Formatter;
use std::fs::read_dir;
use std::path::Path;
use std::process::{Command, Stdio};
Expand Down

0 comments on commit b293c84

Please sign in to comment.