mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-11-05 17:36:49 +00:00
committed by
GitHub
parent
6e346e1653
commit
dffc6292f2
@@ -73,7 +73,7 @@ async function run(): Promise<void> {
|
||||
}
|
||||
|
||||
function detectEmptyWorkdir(): void {
|
||||
if (fs.readdirSync(".").length === 0) {
|
||||
if (fs.readdirSync(workingDirectory).length === 0) {
|
||||
if (ignoreEmptyWorkdir) {
|
||||
core.info(
|
||||
"Empty workdir detected. Ignoring because ignore-empty-workdir is enabled",
|
||||
|
||||
Reference in New Issue
Block a user