Skip to content

Commit 21ea074

Browse files
authored
Fix errors in scripts (#18)
* fix errors in scripts * linter * Update update-version-in-gatsby.js * Update update-version-in-gatsby.js * Update update-version-in-gatsby.js
1 parent 6349aac commit 21ea074

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/update-nutrient-in-examples.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ upgrade_npm_in_example() {
2424
}
2525

2626
upgrade_version_in_gatsbyjs() {
27-
node ./script/update-version-in-gatsby.js
27+
node ./scripts/update-version-in-gatsby.js
2828
}
2929

3030
upgrade_version_in_salesforce() {
31-
node ./script/update-version-in-salesforce.js
31+
node ./scripts/update-version-in-salesforce.js
3232
}
3333

3434
upgrade_npm_in_example "webpack"

scripts/update-version-in-gatsby.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const fs = require("node:fs");
22
const path = require("node:path");
3+
const { execSync } = require("node:child_process");
34

45
const viewportTemplate = fs.readFileSync(
56
path.resolve("./examples/gatsbyjs/src/templates/Viewport.js"),

0 commit comments

Comments
 (0)