Merge pull request #8 from DeversiFi/bugfix/restore-install-state-at-the-start-of-inject-build
bugfix: inject-build: storedBuildState handling
This commit is contained in:
@@ -28,6 +28,9 @@ export default class InjectBuildCommand extends Command<CommandContext> {
|
|||||||
);
|
);
|
||||||
const { project } = await Project.find(configuration, this.context.cwd);
|
const { project } = await Project.find(configuration, this.context.cwd);
|
||||||
|
|
||||||
|
await project.restoreInstallState({
|
||||||
|
restoreResolutions: false,
|
||||||
|
});
|
||||||
const report = await StreamReport.start(
|
const report = await StreamReport.start(
|
||||||
{ configuration, stdout: this.context.stdout },
|
{ configuration, stdout: this.context.stdout },
|
||||||
async (report) => {
|
async (report) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user