mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Merge pull request #133 from greenfiling/fix-empty-working_directory
This commit is contained in:
@@ -38,6 +38,9 @@ _git_changed() {
|
||||
(
|
||||
# PROGRAM
|
||||
# Changing to the directory
|
||||
if [ -z "$INPUT_WORKING_DIRECTORY" ] ; then
|
||||
INPUT_WORKING_DIRECTORY=$GITHUB_ACTION_PATH
|
||||
fi
|
||||
cd "$INPUT_WORKING_DIRECTORY"
|
||||
|
||||
echo "Installing prettier..."
|
||||
|
||||
Reference in New Issue
Block a user