Tatyana Kostromskaya hai 1 ano
pai
achega
64ffef1ea6
Modificáronse 3 ficheiros con 4 adicións e 1 borrados
  1. 2 0
      dist/index.js
  2. 1 0
      src/git-command-manager.ts
  3. 1 1
      src/input-helper.ts

+ 2 - 0
dist/index.js

@@ -641,6 +641,7 @@ class GitCommandManager {
                 args.push('--no-tags');
             }
             args.push('--prune', '--no-recurse-submodules');
+            console.log(`options show progress = ${options.showProgress}`);
             if (options.showProgress) {
                 args.push('--progress');
             }
@@ -1746,6 +1747,7 @@ function getInputs() {
         result.showProgress =
             (core.getInput('show-progress') || 'true').toUpperCase() === 'TRUE';
         core.debug(`show progress = ${result.showProgress}`);
+        console.log(`show progress = ${result.showProgress}`);
         // LFS
         result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE';
         core.debug(`lfs = ${result.lfs}`);

+ 1 - 0
src/git-command-manager.ts

@@ -255,6 +255,7 @@ class GitCommandManager {
     }
 
     args.push('--prune', '--no-recurse-submodules')
+    console.log(`options show progress = ${options.showProgress}`)
     if (options.showProgress) {
       args.push('--progress')
     }

+ 1 - 1
src/input-helper.ts

@@ -109,7 +109,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
   result.showProgress =
     (core.getInput('show-progress') || 'true').toUpperCase() === 'TRUE'
   core.debug(`show progress = ${result.showProgress}`)
-
+  console.log(`show progress = ${result.showProgress}`)
   // LFS
   result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE'
   core.debug(`lfs = ${result.lfs}`)