diff --git a/README.md b/README.md index cb455ec..e678830 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ fluentci # Run the pipeline fluentci --help Usage: fluentci [pipeline] [jobs...] -Version: 0.11.4 +Version: 0.11.5 Description: diff --git a/src/cmd/aws.ts b/src/cmd/aws.ts index 4d1d239..7f85200 100644 --- a/src/cmd/aws.ts +++ b/src/cmd/aws.ts @@ -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(); } diff --git a/src/cmd/azure.ts b/src/cmd/azure.ts index 33e9b48..c5a1d36 100644 --- a/src/cmd/azure.ts +++ b/src/cmd/azure.ts @@ -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(); } diff --git a/src/cmd/cache.ts b/src/cmd/cache.ts index 034f7d0..741608b 100644 --- a/src/cmd/cache.ts +++ b/src/cmd/cache.ts @@ -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(); } diff --git a/src/cmd/circleci.ts b/src/cmd/circleci.ts index b44c560..47644de 100644 --- a/src/cmd/circleci.ts +++ b/src/cmd/circleci.ts @@ -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(); } diff --git a/src/cmd/docs.ts b/src/cmd/docs.ts index aad917d..dba0bb5 100644 --- a/src/cmd/docs.ts +++ b/src/cmd/docs.ts @@ -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(); } diff --git a/src/cmd/github.ts b/src/cmd/github.ts index 8641cc9..a462fbd 100644 --- a/src/cmd/github.ts +++ b/src/cmd/github.ts @@ -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(); } diff --git a/src/cmd/gitlab.ts b/src/cmd/gitlab.ts index cbba866..6e042c3 100644 --- a/src/cmd/gitlab.ts +++ b/src/cmd/gitlab.ts @@ -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(); } diff --git a/src/cmd/list.ts b/src/cmd/list.ts index a951bce..ab503dc 100644 --- a/src/cmd/list.ts +++ b/src/cmd/list.ts @@ -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(); } diff --git a/src/cmd/run.ts b/src/cmd/run.ts index 70b665f..3a5e63f 100644 --- a/src/cmd/run.ts +++ b/src/cmd/run.ts @@ -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(); } diff --git a/src/consts.ts b/src/consts.ts index a755bea..f024bef 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -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";