diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-06-15 19:17:17 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-06-15 19:17:17 +0700 |
| commit | fbf3d88264b7177da4eb1596480138d88eff8c98 (patch) | |
| tree | 401f393b08936c8a70d631b1e552f49795f1565e | |
| parent | 8b9e8bdc0fa7c9c4bb4024567d562af558385e1e (diff) | |
| download | awwan-fbf3d88264b7177da4eb1596480138d88eff8c98.tar.xz | |
go.mod: fix magic copy and get commands on template
The bug is in lib/io.Copy where the destination file does not get
truncated when copying file.
| -rw-r--r-- | CHANGELOG.adoc | 4 | ||||
| -rw-r--r-- | go.mod | 6 | ||||
| -rw-r--r-- | go.sum | 18 |
3 files changed, 13 insertions, 15 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index ab5972c..e3e49c7 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -20,6 +20,10 @@ For example, given following script with line number executing `awwan local script.aww 3`, will always execute line number 2 `echo a`, but not line number 5 (because its before line start 3). +=== Bug fixes + +* command: fix magic copy and get command on templates + === Enhancements @@ -2,10 +2,6 @@ module git.sr.ht/~shulhan/awwan go 1.13 -require ( - github.com/shuLhan/share v0.15.1-0.20200603175945-47ade84e63eb - golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 // indirect - golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 // indirect -) +require github.com/shuLhan/share v0.16.1-0.20200615074640-85bc10a78afa //replace github.com/shuLhan/share => ../share @@ -1,16 +1,14 @@ -github.com/shuLhan/share v0.15.1-0.20200603175945-47ade84e63eb h1:S+GJUL/QzPNsNBQj76YLIc34c/BJlhRPeil6Kdu2+PI= -github.com/shuLhan/share v0.15.1-0.20200603175945-47ade84e63eb/go.mod h1:mpa0ub5qmuko/muUlOROOqLCSHKU76GzuAR/sUaSwRo= +github.com/shuLhan/share v0.16.1-0.20200615074640-85bc10a78afa h1:/QcCE2yH37qc3Qr5ttW4wZPZp8C/3YHiYRrd8gSgjqg= +github.com/shuLhan/share v0.16.1-0.20200615074640-85bc10a78afa/go.mod h1:FqPloTQlDTAmMXxaWft/V5tPmxEHBJeyJMAzVm4/1og= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 h1:bXoxMPcSLOq08zI3/c5dEBT6lE4eh+jOh886GHrn6V8= -golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200602180216-279210d13fed h1:g4KENRiCMEx58Q7/ecwfT0N2o8z35Fnbsjig/Alf2T4= +golang.org/x/crypto v0.0.0-20200602180216-279210d13fed/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200602114024-627f9648deb9 h1:pNX+40auqi2JqRfOP1akLGtYcn15TUbkhwuCO3foqqM= +golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 h1:opSr2sbRXk5X5/givKrrKj9HXxFpW2sdCiP8MJSKLQY= -golang.org/x/sys v0.0.0-20200413165638-669c56c373c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 h1:OjiUf46hAmXblsZdnoSXsEUSKU8r1UEzcL5RVZ4gO9Y= +golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= |
