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
// We can't modify the `yarn pack` generated tar file without runnign the risk of yarn blocking when attempting to unpack it again. Thus, we must include the pkgYarnLock in the npm
1154
1132
// package we're building. To this end, we modify the package.json of the source package.
1133
+
varpackageJSONFiles []interface{}
1134
+
1135
+
ifrfs, ok:=packageJSON["files"]; ok {
1136
+
fs, ok:=rfs.([]interface{})
1137
+
if!ok {
1138
+
returnnil, xerrors.Errorf("invalid package.json: files section is not a list of strings")
0 commit comments