mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 19:38:20 +08:00 
			
		
		
		
	update troubleshooting instructions to include 'npm run format'
This commit is contained in:
		@@ -12,6 +12,6 @@ if [[ "$(git status --porcelain)" != "" ]]; then
 | 
				
			|||||||
    echo ----------------------------------------
 | 
					    echo ----------------------------------------
 | 
				
			||||||
    echo Troubleshooting
 | 
					    echo Troubleshooting
 | 
				
			||||||
    echo ----------------------------------------
 | 
					    echo ----------------------------------------
 | 
				
			||||||
    echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run build"
 | 
					    echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run format && npm run build"
 | 
				
			||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user