Skip to content

Commit

Permalink
fix: relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypoly committed Sep 21, 2023
1 parent 872613b commit 455a9d0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion packages/defer-rw-setup/src/cron/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export const createCronTask = ({
path.resolve(
__dirname,
"..",
"..",
"templates",
"cron",
"sendMondayNewsletter.template"
Expand Down
1 change: 0 additions & 1 deletion packages/defer-rw-setup/src/function/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export const createBackgroundFunctionTask = ({
path.resolve(
__dirname,
"..",
"..",
"templates",
"function",
"helloWorld.ts.template"
Expand Down
10 changes: 1 addition & 9 deletions packages/defer-rw-setup/src/plugin/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const addDeferHelloWorldExampleTask = ({
path.resolve(
__dirname,
"..",
"..",
"templates",
"plugin",
"helloWorld.ts.template"
Expand All @@ -102,14 +101,7 @@ export const configureDeferClient = ({
existingFiles: "OVERWRITE" | "FAIL";
}) => {
const deferHelloWorldTemplate = fs.readFileSync(
path.resolve(
__dirname,
"..",
"..",
"templates",
"plugin",
"client.ts.template"
),
path.resolve(__dirname, "..", "templates", "plugin", "client.ts.template"),
"utf-8"
);

Expand Down

0 comments on commit 455a9d0

Please sign in to comment.