From 45c2f786c72dea60fcdca159ea77135b883e2a92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 9 Dec 2022 15:29:19 +0800 Subject: [PATCH] fix(ci): use public folder exists instead .skip-lint release-as: 0.11.1 --- packages/dev/scripts/zcloak-dev-lint-dependencies.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dev/scripts/zcloak-dev-lint-dependencies.mjs b/packages/dev/scripts/zcloak-dev-lint-dependencies.mjs index 88fc40d..8ae3982 100755 --- a/packages/dev/scripts/zcloak-dev-lint-dependencies.mjs +++ b/packages/dev/scripts/zcloak-dev-lint-dependencies.mjs @@ -35,7 +35,7 @@ console.log('$ zcloak-dev-lint-dependencies', process.argv.slice(2).join(' ')); process.chdir(dir); if ( - !fs.existsSync(path.join(process.cwd(), '.skip-lint')) || + fs.existsSync(path.join(process.cwd(), 'public')) || !fs.existsSync(path.join(process.cwd(), '.skip-build')) ) { const { errors: _errors } = await lintDependencies(`packages/${dir}`, locals);