npm run format

This commit is contained in:
Florian Meriaux 2022-06-15 08:23:10 +02:00
parent 48576e577e
commit 187f735c38
No known key found for this signature in database
GPG Key ID: 1628114C148A0C08

View File

@ -85,7 +85,8 @@ export async function restore(id: string) {
core.saveState(STATE_CACHE_PRIMARY_KEY, primaryKey); core.saveState(STATE_CACHE_PRIMARY_KEY, primaryKey);
if (primaryKey.endsWith('-')) { if (primaryKey.endsWith('-')) {
throw new Error( throw new Error(
`No file in ${process.cwd()} matched to [${packageManager.pattern `No file in ${process.cwd()} matched to [${
packageManager.pattern
}], make sure you have checked out the target repository` }], make sure you have checked out the target repository`
); );
} }