diff --git a/README.md b/README.md index f7f1f0771bb12498a780415cd4fe48180bd601f8..f4db01f1716b246ee585c37a2d7b893e80f54e37 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,5 @@
-

🇨🇳 The Wa Programming Language

- -[Document](https://wa-lang.org) | [Playground](https://wa-lang.org/playground) | [Goals](https://wa-lang.org/goals.html) | [Roadmap](https://wa-lang.org/smalltalk/st0002.html) | [Community](https://wa-lang.org/community) | [Changelog](https://wa-lang.org/changelog.html) | [Discussions](https://github.com/wa-lang/wa/discussions) - +

The Wa Programming Language

@@ -21,7 +18,7 @@ Instead of requiring complex toolchains to set up, you can simply go install it ![](docs/images/logo/logo-animate1.svg) -- Homepage: [https://wa-lang.org](https://wa-lang.org) +- Playground: [https://wa-lang.org/playground](https://wa-lang.org/playground) - Core Team: [柴树杉(chai2010)](https://github.com/chai2010)、[丁尔男(Ending)](https://github.com/3dgen)、[史斌(Benshi)](https://github.com/benshi001)、[扈梦明(xxxDeveloper)](https://github.com/xxxDeveloper)、[刘云峰(leaftree)](https://github.com/leaftree)、[宋汝阳(ShiinaOrez)](https://github.com/ShiinaOrez) > Note: Our canonical Git repository is located at https://gitee.com/wa-lang/wa. There is a mirror of the repository at https://github.com/wa-lang/wa. Unless otherwise noted, the Wa source files are distributed under the AGPL-v3 license found in the LICENSE file. @@ -39,7 +36,7 @@ Instead of requiring complex toolchains to set up, you can simply go install it 2. `wa init -name=_examples/hi` 3. `wa run _examples/hi` -> The Wa project is still in very early stage. If you want to submit PR, please read the [Contribution Guide(Chinese)](https://wa-lang.org/community/contribute.html). We do not accpet PR only about 3rdparty changes. +> The Wa project is still in very early stage. If you want to submit PR, please read the [Contribution Guide(Chinese)](https://wa-lang.org/community/contribute.html). We do not accept PR only about 3rdparty changes. ## Example: Print Wa diff --git a/internal/loader/loader.go b/internal/loader/loader.go index 12ad13dde5017802f967aae968d30325d926ef73..c8221cad065a26fc02ba48dbf4bf8377fc1096d6 100644 --- a/internal/loader/loader.go +++ b/internal/loader/loader.go @@ -380,14 +380,14 @@ func (p *_Loader) isSkipedSouceFile(filename string) bool { } } if isTargetFile { - var shouildSkip = true + var shouldSkip = true for _, ext := range []string{".wa", ".wa.go", ".ugo"} { if strings.HasSuffix(filename, "_"+p.cfg.WaOS+ext) { - shouildSkip = false + shouldSkip = false break } } - if shouildSkip { + if shouldSkip { return true } }