Skip to content

Commit

Permalink
Merge pull request #79 from RegestaItalia/fixInitialValue
Browse files Browse the repository at this point in the history
fix initial value
  • Loading branch information
simonegaffurini authored Dec 3, 2024
2 parents a059186 + 12b0508 commit 8df9fc9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trm-core",
"version": "6.1.13",
"version": "6.1.14",
"description": "TRM (Transport Request Manager) Core",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 4 additions & 3 deletions src/actions/install/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ export const init: Step<InstallWorkflowContext> = {
context.rawInput.installData.import = {};
}
if(!context.rawInput.installData.installDevclass){
context.rawInput.installData.installDevclass = {
replacements: []
};
context.rawInput.installData.installDevclass = {};
}
if(!context.rawInput.installData.installDevclass.replacements){
context.rawInput.installData.installDevclass.replacements = [];
}
if(!context.rawInput.installData.installTransport){
context.rawInput.installData.installTransport = {
Expand Down

0 comments on commit 8df9fc9

Please sign in to comment.