Skip to content

Commit

Permalink
fix: disable tiged cache [] (#1962)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjolton-contentful committed Apr 30, 2024
1 parent 688240b commit c002231
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function cloneAppAction(destination: string, templateIsJavascript:

const appActionDirectoryPath = resolve(`${destination}/actions`);

const d = await tiged(templateSource, { mode: 'tar', cache: false });
const d = await tiged(templateSource, { mode: 'tar', disableCache: true });
await d.clone(appActionDirectoryPath);

// move the manifest from the actions folder to the root folder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function cloneFunction(

const functionDirectoryPath = resolve(`${destination}/functions`);

const d = tiged(templateSource, { mode: 'tar', cache: false });
const d = tiged(templateSource, { mode: 'tar', disableCache: true });
await d.clone(functionDirectoryPath);

// merge the manifest from the template folder to the root folder
Expand Down
2 changes: 1 addition & 1 deletion packages/contentful--create-contentful-app/src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { success } from './logger';
import { rmIfExists } from './utils';

async function clone(source: string, destination: string) {
const d = tiged(source, { mode: 'tar', cache: false });
const d = tiged(source, { mode: 'tar', disableCache: true });

try {
await d.clone(destination);
Expand Down

0 comments on commit c002231

Please sign in to comment.