Skip to content

Commit

Permalink
fix issue with .fluentci configs detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jan 25, 2024
1 parent 5ee26a3 commit c46b324
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fluentci # Run the pipeline
fluentci --help

Usage: fluentci [pipeline] [jobs...]
Version: 0.11.4
Version: 0.11.5

Description:

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function generateAWSCodePipelineConfig(
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/azure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function generateAzurePipelinesConfig(pipeline?: string, reload = false) {
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function cache(pipeline?: string, lockWrite?: boolean) {
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/circleci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function generateCircleCIConfig(pipeline?: string, reload = false) {
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function docs(
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function generateWorkflow(pipeline?: string, reload = false) {
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/gitlab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function generateGitlabCIConfig(pipeline?: string, reload = false) {
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function listJobs(pipeline = ".") {
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function run(
try {
// verify if .fluentci directory exists
const fluentciDir = await Deno.stat(".fluentci");
Deno.stat(".fluentci/mod.ts");
await Deno.stat(".fluentci/mod.ts");
if (!fluentciDir.isDirectory) {
displayErrorMessage();
}
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.11.4";
export const VERSION = "0.11.5";

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

Expand Down

0 comments on commit c46b324

Please sign in to comment.