From 7d42884da8931af4824a37fc7487cd0688089e1f Mon Sep 17 00:00:00 2001 From: liudonghua123 Date: Fri, 26 Apr 2024 11:17:24 +0800 Subject: [PATCH] fix util word misspelling --- src/index.js | 2 +- src/{utli.js => util.js} | 0 test/{utli.js => util.js} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{utli.js => util.js} (100%) rename test/{utli.js => util.js} (88%) diff --git a/src/index.js b/src/index.js index b5890a6..2df6334 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,7 @@ import chalk from "chalk"; import inquirer from "inquirer"; import ora from "ora"; import figlet from "figlet"; -import { say_hello, times_str } from "./utli.js"; +import { say_hello, times_str } from "./util.js"; /** * show the logo diff --git a/src/utli.js b/src/util.js similarity index 100% rename from src/utli.js rename to src/util.js diff --git a/test/utli.js b/test/util.js similarity index 88% rename from test/utli.js rename to test/util.js index de3c0e9..9928eac 100644 --- a/test/utli.js +++ b/test/util.js @@ -1,6 +1,6 @@ import { describe, it } from 'node:test'; import assert from 'node:assert'; -import { say_hello, times_str } from "../src/utli.js"; +import { say_hello, times_str } from "../src/util.js"; describe('utli testing', () => { const message = 'hi'