Skip to content

Commit

Permalink
Don't configureSdm in local mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Aug 21, 2018
1 parent b2961d9 commit ab43a4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cli/embedded/embeddedMachine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function configurationFor(options: EmbeddedMachineOptions): Configuration {
cfg.listeners = [];

cfg.token = "not.your.token";
cfg.apiKey = "not.your.token";
cfg.apiKey = "not.your.apiKey";

cfg.postProcessors = [
configureLocal({
Expand All @@ -92,6 +92,10 @@ function configurationFor(options: EmbeddedMachineOptions): Configuration {
preferLocalSeeds: false,
forceLocal: true,
}),
async config => {
delete process.env.ATOMIST_MODE;
return config;
},
configureSdm(createMachine(options.configure), {}),
];

Expand Down

0 comments on commit ab43a4a

Please sign in to comment.