File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ export default function (
5151 . then ( ( { version, files : pkgFiles } : { version : string ; files : FileItem [ ] } ) => {
5252 function flattenPath ( files : FileItem [ ] , fileList : string [ ] = [ ] ) : string [ ] {
5353 ( files || [ ] ) . forEach ( ( { path, files : subFiles } ) => {
54- const realPath = argv . path ? join ( argv . path , path ) : path
55- fileList . push ( realPath ) ;
54+ const realPath = argv . path ? join ( argv . path , path ) : path ;
55+ fileList . push ( realPath . replace ( / ^ \/ / , '' ) ) ;
5656 flattenPath ( subFiles , fileList ) ;
5757 } ) ;
5858 return fileList ;
@@ -89,8 +89,6 @@ export default function (
8989 return { missingFiles, addedFiles, version } ;
9090 } )
9191 . then ( ( { missingFiles, addedFiles, version } ) => {
92-
93-
9492 if ( addedFiles . length ) {
9593 console . log (
9694 chalk . yellow ( `⚠️ Some file added in current build (last version: ${ version } ):` )
You can’t perform that action at this time.
0 commit comments