mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
pre-commit: version bump typos hook + fix found typo
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
typos_version=1.38.1
|
||||
typos_version=1.44.0
|
||||
cargo install --root /usr/local --version "$typos_version" typos-cli
|
||||
|
||||
strip /usr/local/bin/typos
|
||||
|
||||
@@ -113,7 +113,7 @@ repos:
|
||||
|
||||
# NOTE See BUG https://github.com/crate-ci/typos/issues/390
|
||||
- repo: https://github.com/adhtruong/mirrors-typos
|
||||
rev: v1.39.2
|
||||
rev: v1.44.0
|
||||
hooks:
|
||||
- id: typos
|
||||
# NOTE Override hook's default args to prevent automatic
|
||||
|
||||
@@ -360,7 +360,7 @@ void cmProcess::OnExit(int64_t exit_status, int term_signal)
|
||||
void cmProcess::Finish()
|
||||
{
|
||||
this->TotalTime = std::chrono::steady_clock::now() - this->StartTime;
|
||||
// Because of a processor clock scew the runtime may become slightly
|
||||
// Because of a processor clock skew the runtime may become slightly
|
||||
// negative. If someone changed the system clock while the process was
|
||||
// running this may be even more. Make sure not to report a negative
|
||||
// duration here.
|
||||
|
||||
Reference in New Issue
Block a user