Skip to content

Commit

Permalink
Build and format
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Feb 26, 2022
1 parent 037f601 commit 57c8ee5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion __tests__/cache-restore.test.ts
Expand Up @@ -10,7 +10,8 @@ describe('restore-cache', () => {
'd8110e0006d7fb5ee76365d565eef9d37df1d11598b912d3eb66d398d57a1121';
const requirementsLinuxHash =
'2d0ff7f46b0e120e3d3294db65768b474934242637b9899b873e6283dfd16d7c';
const poetryLockHash = '571bf984f8d210e6a97f854e479fdd4a2b5af67b5fdac109ec337a0ea16e7836';
const poetryLockHash =
'571bf984f8d210e6a97f854e479fdd4a2b5af67b5fdac109ec337a0ea16e7836';
const poetryConfigOutput = `
cache-dir = "/Users/patrick/Library/Caches/pypoetry"
experimental.new-installer = false
Expand Down
3 changes: 2 additions & 1 deletion __tests__/cache-save.test.ts
Expand Up @@ -11,7 +11,8 @@ describe('run', () => {
'd8110e0006d7fb5ee76365d565eef9d37df1d11598b912d3eb66d398d57a1121';
const requirementsLinuxHash =
'2d0ff7f46b0e120e3d3294db65768b474934242637b9899b873e6283dfd16d7c';
const poetryLockHash = '571bf984f8d210e6a97f854e479fdd4a2b5af67b5fdac109ec337a0ea16e7836';
const poetryLockHash =
'571bf984f8d210e6a97f854e479fdd4a2b5af67b5fdac109ec337a0ea16e7836';

// core spy
let infoSpy: jest.SpyInstance;
Expand Down
3 changes: 1 addition & 2 deletions dist/setup/index.js
Expand Up @@ -38822,8 +38822,7 @@ class PoetryCache extends cache_distributor_1.default {
'--list'
]);
if (exitCode && stderr) {
console.log(stdout, stderr, exitCode);
throw new Error(`Could not get cache folder path for poetry package manager`);
throw new Error('Could not get cache folder path for poetry package manager');
}
const lines = stdout.trim().split(os.EOL);
const config = {};
Expand Down

0 comments on commit 57c8ee5

Please sign in to comment.