aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/lib/getTimestamp.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2023-11-02 00:48:50 +0100
committerGitHub <noreply@github.com>2023-11-02 00:48:50 +0100
commitf47c6a83370675af0eff227d0266b40f9f45514a (patch)
tree4d6163e2cd876d9fad02f96bedb961bb172059ec /build/tasks/lib/getTimestamp.js
parent1ad66aeb6d7d94f8e4c8e2286569722ca41f9868 (diff)
downloadjquery-f47c6a83370675af0eff227d0266b40f9f45514a.tar.gz
jquery-f47c6a83370675af0eff227d0266b40f9f45514a.zip
Build: Update ESLint-related packages, fix linting errors
The main change is the new rule in `eslint-config-jquery`: `template-curly-spacing`. Closes gh-5347 Ref jquery/eslint-config-jquery#21 Ref gh-5348
Diffstat (limited to 'build/tasks/lib/getTimestamp.js')
-rw-r--r--build/tasks/lib/getTimestamp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tasks/lib/getTimestamp.js b/build/tasks/lib/getTimestamp.js
index c3c8aed11..4706353c5 100644
--- a/build/tasks/lib/getTimestamp.js
+++ b/build/tasks/lib/getTimestamp.js
@@ -5,5 +5,5 @@ module.exports = function getTimestamp() {
const hours = now.getHours().toString().padStart( 2, "0" );
const minutes = now.getMinutes().toString().padStart( 2, "0" );
const seconds = now.getSeconds().toString().padStart( 2, "0" );
- return `${hours}:${minutes}:${seconds}`;
+ return `${ hours }:${ minutes }:${ seconds }`;
};