You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
forceFlag=flagSet.Bool("force", false, `Force publish the extension, even if there are validation problems or other warnings.`)
54
55
apiFlags=api.NewFlags(flagSet)
@@ -59,7 +60,13 @@ Notes:
59
60
returnerr
60
61
}
61
62
62
-
manifest, err:=ioutil.ReadFile(*manifestFlag)
63
+
manifestPath, err:=filepath.Abs(*manifestFlag)
64
+
iferr!=nil {
65
+
returnerr
66
+
}
67
+
manifestDir:=filepath.Dir(manifestPath)
68
+
69
+
manifest, err:=ioutil.ReadFile(manifestPath)
63
70
iferr!=nil {
64
71
returnfmt.Errorf("%s\n\nRun this command in a directory with a %s file for an extension.\n\nSee 'src extensions %s -h' for help", err, *manifestFlag, flagSet.Name())
0 commit comments