mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-07-13 13:45:39 +02:00
fix promises import
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import * as fsSync from 'fs'
|
||||
import * as fs from 'fs/promises'
|
||||
import * as path from 'path'
|
||||
import core from '@actions/core';
|
||||
import * as os from 'os';
|
||||
@ -10,6 +9,8 @@ import fetch, { HeadersInit } from 'node-fetch';
|
||||
import { Inputs } from '../Inputs';
|
||||
import btoa from 'btoa';
|
||||
|
||||
const fs = fsSync.promises;
|
||||
|
||||
interface FileSpec {
|
||||
absolutePath: string,
|
||||
uploadPath: string
|
||||
|
Reference in New Issue
Block a user