Skip to content

Commit 5bea1b0

Browse files
committed
fix: env local
1 parent 33a322c commit 5bea1b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nerdctl",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"description": "Node wrapper for nerdctl",
@@ -16,8 +16,8 @@
1616
"scripts": {
1717
"prebuild": "rimraf ./dist",
1818
"build": "tsc && tsc-alias",
19-
"dev": "cross-env NODE_ENV=development ts-node-dev --respawn --transpile-only -r tsconfig-paths/register ./src/index.ts",
20-
"start": "cross-env NODE_ENV=development ts-node --transpile-only -r tsconfig-paths/register ./src/index.ts",
19+
"dev": "cross-env NODE_ENV=local ts-node-dev --respawn --transpile-only -r tsconfig-paths/register ./src/index.ts",
20+
"start": "cross-env NODE_ENV=local ts-node --transpile-only -r tsconfig-paths/register ./src/index.ts",
2121
"prepublish": "yarn build",
2222
"docs": "typedoc src/index.ts",
2323
"test": "jest"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function factory(path: string = process.cwd()): BaseBackend {
2020
}
2121
}
2222

23-
if (process.env.NODE_ENV === "development") {
23+
if (process.env.NODE_ENV === "local") {
2424
async function test() {
2525
const IMAGE_NAME = "hello-world";
2626
const CONTAINER_NAME = "hello";

0 commit comments

Comments
 (0)