mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
fix node provider
This commit is contained in:
@@ -82,7 +82,7 @@ func (p *NodeProvider) Plan(ctx *generate.GenerateContext) error {
|
||||
buildIncludeDirs = append(buildIncludeDirs, "/root/.cache")
|
||||
}
|
||||
|
||||
ctx.Deploy.Inputs = append(ctx.Deploy.Inputs, []plan.Input{
|
||||
ctx.Deploy.Inputs = []plan.Input{
|
||||
ctx.DefaultRuntimeInput(),
|
||||
plan.NewStepInput(miseStep.Name(), plan.InputOptions{
|
||||
Include: miseStep.GetOutputPaths(),
|
||||
@@ -95,7 +95,7 @@ func (p *NodeProvider) Plan(ctx *generate.GenerateContext) error {
|
||||
Include: []string{"/app/node_modules"}, // we only wanted the pruned node_modules
|
||||
}),
|
||||
plan.NewLocalInput("."),
|
||||
}...)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user