File tree 3 files changed +7
-3
lines changed
Plugins/AWSLambdaPackager
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ Package.resolved
10
10
.serverless
11
11
.vscode
12
12
Makefile
13
+ .devcontainer
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ struct AWSLambdaPackager: CommandPlugin {
74
74
" \( archives. count > 0 ? archives. count. description : " no " ) archive \( archives. count != 1 ? " s " : " " ) created "
75
75
)
76
76
for (product, archivePath) in archives {
77
- print ( " * \( product. name) at \( archivePath) " )
77
+ print ( " * \( product. name) at \( archivePath. path ( ) ) " )
78
78
}
79
79
}
80
80
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ struct Utils {
28
28
) throws -> String {
29
29
if logLevel >= . debug {
30
30
print ( " \( executable. path ( ) ) \( arguments. joined ( separator: " " ) ) " )
31
+ if let customWorkingDirectory {
32
+ print ( " Working directory: \( customWorkingDirectory. path ( ) ) " )
33
+ }
31
34
}
32
35
33
36
let fd = dup ( 1 )
@@ -85,8 +88,8 @@ struct Utils {
85
88
process. standardError = pipe
86
89
process. executableURL = executable
87
90
process. arguments = arguments
88
- if let workingDirectory = customWorkingDirectory {
89
- process. currentDirectoryURL = URL ( fileURLWithPath: workingDirectory . path ( ) )
91
+ if let customWorkingDirectory {
92
+ process. currentDirectoryURL = URL ( fileURLWithPath: customWorkingDirectory . path ( ) )
90
93
}
91
94
process. terminationHandler = { _ in
92
95
outputQueue. async {
You can’t perform that action at this time.
0 commit comments