Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/default ts translations #38

Merged
merged 13 commits into from May 7, 2019
Prev

Fixes path joining

  • Loading branch information...
baflo committed May 7, 2019
commit 27b1921214eb6ebc1613ed3238efe97ca3bd65ad
@@ -1,5 +1,6 @@
import * as fs from "fs";
import { Container } from "inversify-components";
import * as path from "path";
import { componentInterfaces } from "./private-interfaces";
import { CLIDeploymentExtension } from "./public-interfaces";

@@ -14,6 +15,6 @@ export class DeploymentApplication {
public async execute(container: Container): Promise<void> {
// Get all bound deployments and execute them
const deployments = container.inversifyInstance.getAll<CLIDeploymentExtension>(componentInterfaces.deployments);
await Promise.all(deployments.map(deployment => deployment.execute(`${this.buildDir}/${this.buildTimeStamp}`)));
await Promise.all(deployments.map(deployment => deployment.execute(path.join(this.buildDir, this.buildTimeStamp.toString()))));
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.