File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change
1
+ import fetch from 'node-fetch'
1
2
import { get } from '../src/downloader'
2
3
import { mocked } from 'ts-jest/utils'
3
- import fetch from 'node-fetch'
4
4
5
5
const buildIdResponse = {
6
6
count : 1 ,
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-console */
2
- import { statSync } from 'fs'
3
- import * as process from 'process'
4
2
import * as child_process from 'child_process'
5
3
import * as path from 'path'
4
+ import * as process from 'process'
5
+ import { statSync } from 'fs'
6
6
7
7
async function runAction (
8
8
options ?: child_process . SpawnOptionsWithoutStdio
Original file line number Diff line number Diff line change 1
1
import * as core from '@actions/core'
2
- import process from 'process'
3
- import { get } from './src/downloader'
4
2
import { restoreCache , saveCache } from '@actions/cache'
3
+ import { get } from './src/downloader'
4
+ import process from 'process'
5
5
6
6
async function run ( ) : Promise < void > {
7
7
try {
Original file line number Diff line number Diff line change 1
- import fs from 'fs'
2
- import https from 'https'
3
1
import { Readable } from 'stream'
4
- import unzipper from 'unzipper'
5
- import { spawn } from 'child_process'
6
2
import { delimiter } from 'path'
7
3
import fetch from '@adobe/node-fetch-retry'
4
+ import fs from 'fs'
5
+ import https from 'https'
6
+ import { spawn } from 'child_process'
7
+ import unzipper from 'unzipper'
8
8
9
9
const gitForWindowsUsrBinPath = 'C:/Program Files/Git/usr/bin'
10
10
const gitForWindowsMINGW64BinPath = 'C:/Program Files/Git/mingw64/bin'
You can’t perform that action at this time.
0 commit comments