Skip to content

Commit c469632

Browse files
committed
update deps
1 parent 44a5235 commit c469632

File tree

6 files changed

+114
-19
lines changed

6 files changed

+114
-19
lines changed

Gopkg.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/pflag/flag.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/pflag/int16.go

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/golang.org/x/net/context/context.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/mvdan.cc/sh/README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ operate on files with no extension and a shell shebang.
2525
Use `-i N` to indent with a number of spaces instead of tabs. There are
2626
other formatting options - see `shfmt -h`.
2727

28-
Packages are available for [Arch], [Homebrew], [NixOS] and [Void].
28+
Packages are available for [Arch], [CRUX], [Homebrew], [NixOS] and [Void].
2929

3030
#### Advantages over `bash -n`
3131

@@ -86,22 +86,25 @@ the parser and the printer. To get started, run:
8686

8787
### Related projects
8888

89+
* [dockerised-shfmt] - A docker image of `shfmt`
8990
* [format-shell] - Atom plugin for `shfmt`
91+
* [micro] - Editor with a built-in plugin for `shfmt`
9092
* [shell-format] - VS Code plugin for `shfmt`
91-
* [dockerised-shfmt] - A docker image of `shfmt`
9293
* [vim-shfmt] - Vim plugin for `shfmt`
9394

94-
[posix shell]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
95+
[arch]: https://aur.archlinux.org/packages/shfmt/
9596
[bash]: https://www.gnu.org/software/bash/
96-
[mksh]: https://www.mirbsd.org/mksh.htm
97+
[crux]: https://github.com/6c37/crux-ports-git/tree/3.3/shfmt
98+
[dockerised-shfmt]: https://hub.docker.com/r/jamesmstone/shfmt/
9799
[examples]: https://godoc.org/mvdan.cc/sh/syntax#pkg-examples
98-
[arch]: https://aur.archlinux.org/packages/shfmt/
100+
[format-shell]: https://atom.io/packages/format-shell
101+
[go-fuzz]: https://github.com/dvyukov/go-fuzz
99102
[homebrew]: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/shfmt.rb
103+
[micro]: https://micro-editor.github.io/
104+
[mksh]: https://www.mirbsd.org/mksh.htm
100105
[nixos]: https://github.com/NixOS/nixpkgs/blob/HEAD/pkgs/tools/text/shfmt/default.nix
101-
[void]: https://github.com/voidlinux/void-packages/blob/HEAD/srcpkgs/shfmt/template
102-
[go-fuzz]: https://github.com/dvyukov/go-fuzz
106+
[posix shell]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
103107
[posix-ambiguity]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03
104-
[format-shell]: https://atom.io/packages/format-shell
105108
[shell-format]: https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format
106-
[dockerised-shfmt]: https://hub.docker.com/r/jamesmstone/shfmt/
107109
[vim-shfmt]: https://github.com/z0mbix/vim-shfmt
110+
[void]: https://github.com/voidlinux/void-packages/blob/HEAD/srcpkgs/shfmt/template

vendor/mvdan.cc/sh/syntax/lexer.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ retry:
7171
if p.litBs != nil {
7272
p.litBs = append(p.litBs, b)
7373
}
74-
r := rune(b)
75-
p.r, p.w = r, 1
76-
return r
74+
p.w, p.r = 1, rune(b)
75+
return p.r
7776
}
7877
if p.bsp+utf8.UTFMax >= len(p.bs) {
7978
// we might need up to 4 bytes to read a full

0 commit comments

Comments
 (0)