Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
JOTSR committed Mar 11, 2022
2 parents d9345f1 + 53d0746 commit 59a88da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Simple version ensurer for [Deno](https://deno.land) that check {deno, typescrip
Use [semver](https://deno.land/x/semver) to check versions

[![Tags](https://img.shields.io/github/v/release/JOTSR/ensure_version)](https://github.com/JOTSR/ensure_version/releases)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/raw.githubusercontent.com/JOTSR/ensure_version/main/mod.ts))
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/raw.githubusercontent.com/JOTSR/ensure_version/main/mod.ts)

## Usage

Expand Down
4 changes: 2 additions & 2 deletions ensure_version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type AtLeastOne<T, U = {[K in keyof T]: Pick<T, K>}> = Partial<T> & U[keyof U]
* Log warn(minor)/info(patch) if version is version is valid but can be updated
*
* @param {string} version Required version (semver syntax) of Deno
* @param {boolean} logs Enable log if update minor and patch is possible (default: true)
* @param {boolean=} logs Enable log if update minor and patch is possible (default: true)
* @throws {TypeError} Semver parse error
* @throws {RangeError} Version mismatch
*
Expand Down Expand Up @@ -40,7 +40,7 @@ export function ensureVersion(version: string, logs?: boolean): void
* Log warn(minor)/info(patch) if version is version is valid but can be updated
*
* @param {Deno.version} version Required version (semver syntax) of at least ones of Deno, Typescript, V8
* @param {boolean} logs Enable log if update minor and patch is possible (default: true)
* @param {boolean=} logs Enable log if update minor and patch is possible (default: true)
* @throws {TypeError} Semver parse error
* @throws {RangeError} Version mismatch
*
Expand Down

0 comments on commit 59a88da

Please sign in to comment.