Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Commit bfe4539

Browse files
committed
style: format with Prettier
1 parent 1c35c36 commit bfe4539

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ module.exports = {
1414
// - the file/directory already exists locally
1515
// - the file/directory has not been cached yet
1616
async onPreBuild({utils}: {utils: NetlifyUtils}) {
17-
await utils.cache.restore(joinPaths(__dirname, '.next'), {digest: [joinPaths(__dirname, '.next', 'build-manifest.json')]});
17+
await utils.cache.restore(joinPaths(__dirname, '.next'), {
18+
digest: [joinPaths(__dirname, '.next', 'build-manifest.json')]
19+
});
1820
},
1921
// Cache file/directory for future builds.
2022
// Does not do anything if:
@@ -23,6 +25,8 @@ module.exports = {
2325
// If this is a directory, this includes children's contents
2426
// Note that this will cache after the build, even if it fails, which fcould be unwanted behavior
2527
async onPostBuild({utils}: {utils: NetlifyUtils}) {
26-
await utils.cache.save(joinPaths(__dirname, '.next'), {digest: [joinPaths(__dirname, '.next', 'build-manifest.json')]});
28+
await utils.cache.save(joinPaths(__dirname, '.next'), {
29+
digest: [joinPaths(__dirname, '.next', 'build-manifest.json')]
30+
});
2731
}
2832
};

0 commit comments

Comments
 (0)