mirror of
				https://github.com/trympet/nextcloud-artifacts-action.git
				synced 2025-10-29 01:06:41 +01:00 
			
		
		
		
	fix promises import
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,3 +1,5 @@ | |||||||
|  | lib | ||||||
|  |  | ||||||
| # Logs | # Logs | ||||||
| logs | logs | ||||||
| *.log | *.log | ||||||
|   | |||||||
							
								
								
									
										776
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										776
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,5 +1,4 @@ | |||||||
| import * as fsSync from 'fs' | import * as fsSync from 'fs' | ||||||
| import * as fs from 'fs/promises' |  | ||||||
| import * as path from 'path' | import * as path from 'path' | ||||||
| import core from '@actions/core'; | import core from '@actions/core'; | ||||||
| import * as os from 'os'; | import * as os from 'os'; | ||||||
| @@ -10,6 +9,8 @@ import fetch, { HeadersInit } from 'node-fetch'; | |||||||
| import { Inputs } from '../Inputs'; | import { Inputs } from '../Inputs'; | ||||||
| import btoa from 'btoa'; | import btoa from 'btoa'; | ||||||
|  |  | ||||||
|  | const fs = fsSync.promises; | ||||||
|  |  | ||||||
| interface FileSpec { | interface FileSpec { | ||||||
|     absolutePath: string, |     absolutePath: string, | ||||||
|     uploadPath: string |     uploadPath: string | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Trym Lund Flogard
					Trym Lund Flogard