File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ abstract class CommonEngineOptionsFactory implements EngineOptionsFactory {
2929 if ( this . shouldSfgeRun ( inputs ) ) {
3030 const sfgeConfig : SfgeConfig = {
3131 projectDirs : this . inputProcessor . resolveProjectDirPaths ( inputs ) ,
32- cachepath : inputs . cachepath ,
33- enablecaching : inputs . enablecaching
32+ cachepath : inputs . cachepath as string ,
33+ enablecaching : inputs . enablecaching as boolean
3434 } ;
3535 options . set ( CUSTOM_CONFIG . SfgeConfig , JSON . stringify ( sfgeConfig ) ) ;
3636 }
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ export class SfgeExecuteWrapper extends AbstractSfgeWrapper {
242242 if ( this . ruleDisableWarningViolation != null ) {
243243 flags . push ( `-DSFGE_RULE_DISABLE_WARNING_VIOLATION=${ this . ruleDisableWarningViolation . toString ( ) } ` ) ;
244244 }
245- if ( this . enablecaching ) {
245+ if ( this . enablecaching != null && this . enablecaching ) {
246246 flags . push ( `-DSFGE_DISABLE_CACHING=false` ) ;
247247 }
248248 if ( this . cachepath != null ) {
You can’t perform that action at this time.
0 commit comments