Skip to content

Commit

Permalink
feat(cli): Add asset into config bundle record BM-693 (#2528)
Browse files Browse the repository at this point in the history
* Add asset into config bundle record

* Add comment

* update the assets name.
  • Loading branch information
Wentao-Kuang committed Oct 5, 2022
1 parent cf23c3a commit 72bdd9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/cli/config/action.import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class CommandImport extends CommandLineAction {
name: cfg.ConfigBundle.id(`config-${configJson.hash}.json`),
path: config,
hash: configJson.hash,
assets: configJson.assets,
};
logger.info({ config }, 'Import:ConfigBundle');

Expand Down
3 changes: 3 additions & 0 deletions packages/config/src/config/config.bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ export interface ConfigBundle extends BaseConfig {

/** Hash of the config bundle file */
hash: string;

/** Path of the asset file */
assets: string;
}

0 comments on commit 72bdd9b

Please sign in to comment.