Skip to content

Commit

Permalink
fix issue with DENO_PROJECT environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Mar 4, 2024
1 parent eae9a52 commit 214b2ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentci/deno",
"version": "0.9.1",
"version": "0.9.2",
"exports": "./mod.ts",
"importMap": "import_map.json",
"tasks": {
Expand Down
2 changes: 1 addition & 1 deletion src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export async function deploy(
return "";
}

if (!project) {
if (!env.get("DENO_PROJECT") && !project) {
throw new Error("DENO_PROJECT environment variable is not set");
}

Expand Down

0 comments on commit 214b2ae

Please sign in to comment.