Skip to content

Commit

Permalink
Fix wrong refactor based on VSCode not understanding await for tar.cr…
Browse files Browse the repository at this point in the history
…eate
  • Loading branch information
eoftedal committed Jun 21, 2023
1 parent c1d7198 commit 36c036f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.4.0] - 2023-06-21

- Internal refactoring

## [2.3.0] - 2023-06-21

- Internal refactoring
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "containerify",
"version": "2.3.0",
"version": "2.4.0",
"description": "Build node.js docker images without docker",
"main": "./lib/cli.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/appLayerCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async function addDataLayer(
(comment == "dependencies" ? ". Did you forget to run npm install?" : ""),
);
}
tar.create(
await tar.create(
{
...tarDefaultConfig,
...{
Expand Down
2 changes: 1 addition & 1 deletion src/tarExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function saveToTar(fromdir: string, tmpdir: string, toPath: string, repoTa
];
await fs.writeFile(path.join(tardir, "manifest.json"), JSON.stringify(simpleManifest));
await fs.writeFile(path.join(tardir, "config.json"), JSON.stringify(config));
tar.create(
await tar.create(
{
...tarDefaultConfig,
...{
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = "2.3.0";
export const VERSION = "2.4.0";

0 comments on commit 36c036f

Please sign in to comment.