Skip to content

Commit

Permalink
fix: slash
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Apr 11, 2024
1 parent 31de78a commit 10971a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/generate.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const populate = async ({gitHubAction, ...rest}: PopulateInput) => {
type PopulateInputFn = Omit<PopulateInput, 'gitHubAction'>;

const populateFromCDN = async ({where, template, localDevelopment}: PopulateInputFn) => {
const templatePath = getRelativeTemplatePath(template);
const templatePath = getRelativeTemplatePath(template).replace(/\\/g, '/');

console.log("DEBUG ----> ", templatePath);

Check failure on line 60 in src/services/generate.services.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `"DEBUG·---->·"` with `'DEBUG·---->·'`

Expand All @@ -65,7 +65,7 @@ const populateFromCDN = async ({where, template, localDevelopment}: PopulateInpu
hostname,
path: `/${templatePath}.tar.gz`,
headers: {
'Accept-Encoding': 'identity'
'Accept-Encoding': 'gzip, deflate, br'
}
});

Expand Down

0 comments on commit 10971a9

Please sign in to comment.