Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
damian-t authored and syphar committed Aug 9, 2021
1 parent 41b6469 commit f451a6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ test('get python version', async () => {
})

test('get virtualenv directory', async () => {
expect(await utils.virtualenv_directory('venv-custom')).toContain('venv-custom')
expect(await utils.virtualenv_directory('venv-custom')).toContain(
'venv-custom'
)
})

test('get hash for file glob', async () => {
Expand Down
4 changes: 3 additions & 1 deletion src/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ async function run(): Promise<void> {
required: true
})

const virtualenv_dir = await utils.virtualenv_directory(custom_virtualenv_dir)
const virtualenv_dir = await utils.virtualenv_directory(
custom_virtualenv_dir
)
core.saveState('VIRTUALENV_DIRECTORY', virtualenv_dir)
core.setOutput('virtualenv-directory', virtualenv_dir)

Expand Down

0 comments on commit f451a6d

Please sign in to comment.