fixing go test
@@ -33,7 +33,11 @@ func unWarpConfig(file string) *api.Config {
func TestNodeHelloWorld(t *testing.T) {
const packageName = "node_v11.5.0"
- localpackage := api.DownloadPackage(packageName)
+ localpackage, err := api.DownloadPackage(packageName)
+ if err != nil {
+ t.Fatal(err)
+ }
+
fmt.Printf("Extracting %s...\n", localpackage)
staging := ".staging"
