From 5fc20f9dd53fe4d32be08d538782baa47c67853c Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Sep 2023 11:52:34 +0200 Subject: make eslint a lot happier --- webAO/utils/getAnimLength.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'webAO/utils/getAnimLength.js') diff --git a/webAO/utils/getAnimLength.js b/webAO/utils/getAnimLength.js index aa303cf..f9d793f 100644 --- a/webAO/utils/getAnimLength.js +++ b/webAO/utils/getAnimLength.js @@ -1,11 +1,11 @@ import calculatorHandler from './calculatorHandler'; -import fileExists from './fileExists.js'; -import { requestBuffer } from '../services/request.js'; +import fileExists from './fileExists'; +import { requestBuffer } from '../services/request'; /** - * Gets animation length. If the animation cannot be found, it will - * silently fail and return 0 instead. - * @param {string} filename the animation file name - */ + * Gets animation length. If the animation cannot be found, it will + * silently fail and return 0 instead. + * @param {string} filename the animation file name + */ const getAnimLength = async (url) => { const extensions = ['.gif', '.webp', '.apng']; -- cgit