File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ class PackageExternal {
46
46
// Symlink external folders
47
47
return Promise . all ( this . options . external . map ( externalFolder => {
48
48
this . symlinked = true ;
49
- return symlink . createFolder ( externalFolder , this . serverless ) ;
49
+ const folderWithoutAstrix = externalFolder . split ( '*' ) . join ( '' ) ;
50
+ return symlink . createFolder ( folderWithoutAstrix , this . serverless ) ;
50
51
} ) )
51
52
. then ( ( ) => {
52
53
this . serverless . cli . log ( `[serverless-package-external] is complete` ) ;
@@ -57,7 +58,8 @@ class PackageExternal {
57
58
if ( this . symlinked ) {
58
59
this . serverless . cli . log ( `[serverless-package-external] cleaning up` ) ;
59
60
this . options . external . forEach ( externalFolder => {
60
- const target = path . basename ( externalFolder ) ;
61
+ const folderWithoutAstrix = externalFolder . split ( '*' ) . join ( '' ) ;
62
+ const target = path . basename ( folderWithoutAstrix ) ;
61
63
symlink . removeFolder ( target ) ;
62
64
} ) ;
63
65
}
You can’t perform that action at this time.
0 commit comments