Skip to content

Commit

Permalink
Merge pull request #31 from fluentci-io/fix/plugin-exec
Browse files Browse the repository at this point in the history
fix plugin execution issue
  • Loading branch information
tsirysndr authored Apr 9, 2024
2 parents e065128 + 630ea9e commit e8bfd1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fluentci # Run the pipeline
fluentci --help

Usage: fluentci [pipeline] [jobs...]
Version: 0.12.1
Version: 0.12.2

Description:

Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

packages.default = pkgs.deno2nix.mkExecutable {
pname = "fluentci";
version = "0.12.1";
version = "0.12.2";

src = ./.;
lockfile = "./deno.lock";
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ const saveRepositoryMetadata = async (id: string) => {
};

const runWasmPlugin = async (pipeline: string, job: string[]) => {
if (!(await fluentciPluginDirExists())) {
if (!(await fluentciPluginDirExists()) && pipeline === ".") {
console.log("This directory does not contain a FluentCI plugin");
Deno.exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion src/consts.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dir } from "../deps.ts";

export const VERSION = "0.12.1";
export const VERSION = "0.12.2";

export const BASE_URL = "https://api.fluentci.io/v1";

Expand Down

0 comments on commit e8bfd1a

Please sign in to comment.