mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 12:58:38 +08:00 
			
		
		
		
	chore: husky pre-commit nvm
This commit is contained in:
		@ -1,4 +1,7 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
. "$(dirname "$0")/_/husky.sh"
 | 
			
		||||
 | 
			
		||||
export NVM_DIR="$HOME/.nvm"
 | 
			
		||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
 | 
			
		||||
 | 
			
		||||
npx lint-staged
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user