Skip to content

Commit 9eced24

Browse files
committed
CustomJS: fixed typo in puppeteer action
1 parent d9ed5f4 commit 9eced24

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.wordlist.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ CSVs
153153
Ctrl
154154
Cuep
155155
customizable
156-
CustomJS
157156
customResponse
158157
cvIZPg
159158
DaData
@@ -688,7 +687,6 @@ PropType
688687
proto
689688
PRs
690689
Psw
691-
Puppoteer
692690
Pushbullet
693691
Pushsafer
694692
Pushshift

components/customjs/actions/run-puppoteer/run-puppoteer.mjs renamed to components/customjs/actions/run-puppeteer/run-puppeteer.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import fs from "fs";
33
import { normalizeFilepath } from "../common/utils.mjs";
44

55
export default {
6-
key: "customjs-run-puppoteer",
7-
name: "Run Puppoteer",
8-
description: "run-puppoteer. [See the documentation](https://www.customjs.space/api/docs#_5-run-puppoteer)",
6+
key: "customjs-run-puppeteer",
7+
name: "Run Puppeteer",
8+
description: "run-puppeteer. [See the documentation](https://www.customjs.space/api/docs#_5-run-puppeteer)",
99
version: "0.0.1",
1010
type: "action",
1111
props: {
@@ -23,7 +23,7 @@ export default {
2323
},
2424
},
2525
async run({ $ }) {
26-
const fileContent = await this.customjs.runPuppoteer({
26+
const fileContent = await this.customjs.runPuppeteer({
2727
$,
2828
data: {
2929
input: this.code,
@@ -35,7 +35,7 @@ export default {
3535
const filepath = normalizeFilepath(this.filename);
3636
fs.writeFileSync(filepath, Buffer.from(fileContent));
3737

38-
$.export("$summary", "Successfully run the puppoteer code.");
38+
$.export("$summary", "Successfully run the puppeteer code.");
3939
return {
4040
filename: this.filename,
4141
filepath,

components/customjs/customjs.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default {
6060
...opts,
6161
});
6262
},
63-
runPuppoteer(opts = {}) {
63+
runPuppeteer(opts = {}) {
6464
return this._makeRequest({
6565
headers: {
6666
"customjs-origin": "pipedream/puppeteer",

0 commit comments

Comments
 (0)