Update sbt pattern.

This commit is contained in:
Florian Meriaux 2022-03-24 14:30:19 +01:00 committed by GitHub
parent acc6b27ae4
commit 133446f1cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ describe('dependency cache', () => {
await expect(restore('sbt')).rejects.toThrowError( await expect(restore('sbt')).rejects.toThrowError(
`No file in ${projectRoot( `No file in ${projectRoot(
workspace workspace
)} matched to [**/*.sbt,**/project/**.scala,**/project/build.properties,**/project/**.scala], make sure you have checked out the target repository` )} matched to [**/*.sbt,**/project/build.properties,**/project/**.scala], make sure you have checked out the target repository`
); );
}); });
it('downloads cache', async () => { it('downloads cache', async () => {

View file

@ -36,7 +36,7 @@ const supportedPackageManager: PackageManager[] = [
{ {
id: 'sbt', id: 'sbt',
path: [join(os.homedir(), '.ivy2', 'cache'), join(os.homedir(), '.sbt')], path: [join(os.homedir(), '.ivy2', 'cache'), join(os.homedir(), '.sbt')],
pattern: ['**/*.sbt', '**/project/**.scala', '**/project/build.properties', '**/project/**.scala'] pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.scala']
} }
]; ];