mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-04-24 20:16:08 +02:00
fix promises import
This commit is contained in:
parent
1259b887e0
commit
314b7642ee
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
lib
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.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 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user