diff --git a/atom/otherStruct.go b/atom/frag.go similarity index 100% rename from atom/otherStruct.go rename to atom/frag.go diff --git a/atom/genStruct.sh b/atom/genStruct.sh index eebb079..f8bec11 100755 --- a/atom/genStruct.sh +++ b/atom/genStruct.sh @@ -1,4 +1,7 @@ #!/bin/bash -node --harmony_rest_parameters genStruct.js > struct.go && gofmt -w struct.go && go build . +node genStruct.js > struct.go && gofmt -w struct.go && go build . || { + echo + echo "Please use node version > 6.0.0" +}