Change word DEPENDENCES to DEPENDENCIES.

See? This is something would happen if you staring at a file that you created like a month ago and start to think "Hey, I wonder whether or not this is a valid English word"
This commit is contained in:
NI
2019-08-07 16:16:09 +08:00
parent 02f14eb14f
commit 122587c4bd
5 changed files with 10 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
# Dependences Of Sshwifty
# Dependencies used by Sshwifty
Sshwifty uses many third-party components. Those components is required inorder
for Sshwifty to function.
A list of used components can be found inside `package.json` and `go.mod` file.
Major dependences includes:
Major dependencies includes:
## For front-end application

View File

@@ -198,10 +198,10 @@ SSHWIFTY_WRITEELAY
Code of this project is licensed under AGPL, see [LICENSE.md] for detail.
Third-party components used by this project are licensed under their respective
license. See [DEPENDENCES.md] for dependences used by this project.
license. See [DEPENDENCIES.md] for dependencies used by this project.
[LICENSE.md]: LICENSE.md
[DEPENDENCES.md]: DEPENDENCES.md
[DEPENDENCIES.md]: DEPENDENCIES.md
## Contribute

View File

@@ -84,7 +84,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
fallthrough
case "/LICENSE.md":
fallthrough
case "/DEPENDENCES.md":
case "/DEPENDENCIES.md":
err = serveStaticData(r.URL.Path[1:], w, r, clientLogger)
default:

View File

@@ -44,7 +44,7 @@ const (
var (
staticPages = map[string]staticData{
{{ range . }}"{{ .Name }}":
{{ range . }}"{{ .Name }}":
parseStaticData({{ .GOPackage }}.{{ .GOVariableName }}()),
{{ end }}
}
@@ -154,7 +154,7 @@ var (
// by "go generate", DO NOT EDIT! Also, do not open this file, it maybe too large
// for your editor. You've been warned.
//
// This file may contain third-party binaries. See DEPENDENCES for detail.
// This file may contain third-party binaries. See DEPENDENCIES.md for detail.
import (
"time"
@@ -182,14 +182,14 @@ func {{ .GOVariableName }}() (
}
data, dataErr := hex.DecodeString(raw{{ .GOVariableName }}Data)
raw{{ .GOVariableName }}Data = ""
if dataErr != nil {
panic(dataErr)
}
return {{ .FileStart }}, {{ .FileEnd }},
return {{ .FileStart }}, {{ .FileEnd }},
{{ .CompressedStart }}, {{ .CompressedEnd }},
"{{ .ContentHash }}", "{{ .CompressedHash }}", created, data
}

View File

@@ -235,7 +235,7 @@ module.exports = {
to: path.join(__dirname, ".tmp", "dist")
},
{
from: path.join(__dirname, "DEPENDENCES.md"),
from: path.join(__dirname, "DEPENDENCIES.md"),
to: path.join(__dirname, ".tmp", "dist")
},
{