Skip to content

Commit ebb6654

Browse files
committed
set target
1 parent e8a1f25 commit ebb6654

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ class ServerlessMake {
153153
this.commands = {
154154
[`${PLUGIN_NAME}`]: {
155155
commands: {
156-
make: {
156+
[`${this.target}`]: {
157157
lifecycleEvents: ["making", "made"],
158158
// options: commandOptions,
159159
usage: "Runs the specified target in the Makefile.",
160160
},
161161
},
162-
lifecycleEvents: ["make"],
162+
lifecycleEvents: [this.target],
163163
// options: commandOptions,
164164
usage: "Runs make commands",
165165
},

0 commit comments

Comments
 (0)