Skip to content

Commit f2aa5e2

Browse files
committed
chore: do not export isServeDUpToDate
1 parent d722a35 commit f2aa5e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/installation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function getServeDVersion(file: string) {
4141
}
4242

4343
/** Check if the given serve-d is up to date against the target version */
44-
export async function isServeDUpToDate(givenFile: string, targetFile: string) {
44+
async function isServeDUpToDate(givenFile: string, targetFile: string) {
4545
const semverCompare = (await import("semver/functions/compare")).default
4646
const [givenVersion, targetVersion] = await Promise.all([getServeDVersion(givenFile), getServeDVersion(targetFile)])
4747
if (
@@ -59,10 +59,10 @@ export async function isServeDUpToDate(givenFile: string, targetFile: string) {
5959

6060
async function copyServeD(bundledServerFolder: string, codeDBinFolder: string) {
6161
const { copy } = await import("fs-extra")
62-
atom.notifications.addInfo("Installing D servers...")
62+
atom.notifications.addInfo("Installing/Updating D servers...")
6363
// copy the whole served folder
6464
await copy(bundledServerFolder, codeDBinFolder, { overwrite: true })
65-
atom.notifications.addSuccess("D servers was installed")
65+
atom.notifications.addSuccess("D servers was installed/updated")
6666
}
6767

6868
export async function installServeD() {

0 commit comments

Comments
 (0)