From 7dcc7b372f98cfd2a390eb5e423e09c76ac9e2e1 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Wed, 20 Oct 2021 17:20:29 -0300 Subject: [PATCH] Fix update-comment.js --- scripts/release/update-comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/update-comment.js b/scripts/release/update-comment.js index 54a7f4ea6..5cbba1995 100755 --- a/scripts/release/update-comment.js +++ b/scripts/release/update-comment.js @@ -4,7 +4,7 @@ const fs = require('fs'); const glob = require('glob'); const proc = require('child_process'); -const gitStatus = proc.execFileSync('git', ['status', '--porcelain', '-uno', 'contracts']); +const gitStatus = proc.execFileSync('git', ['status', '--porcelain', '-uno', 'contracts/**/*.sol']); if (gitStatus.length > 0) { console.error('Contracts directory is not clean');