Skip to content

Commit 3d02873

Browse files
justin808claude
andcommitted
Fix Prettier formatting for shakapacker-config binstubs
Format the new shakapacker-config binstubs to match Prettier code style: - Change double quotes to single quotes - Add missing semicolons This fixes the CI formatting check failure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8d0d0e9 commit 3d02873

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env node
22

33
// Minimal shim - all logic is in the TypeScript module
4-
const { run } = require("shakapacker/configExporter")
4+
const { run } = require('shakapacker/configExporter');
55

66
run(process.argv.slice(2))
77
.then((exitCode) => process.exit(exitCode))
88
.catch((error) => {
9-
console.error(error.message)
10-
process.exit(1)
11-
})
9+
console.error(error.message);
10+
process.exit(1);
11+
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env node
22

33
// Minimal shim - all logic is in the TypeScript module
4-
const { run } = require("shakapacker/configExporter")
4+
const { run } = require('shakapacker/configExporter');
55

66
run(process.argv.slice(2))
77
.then((exitCode) => process.exit(exitCode))
88
.catch((error) => {
9-
console.error(error.message)
10-
process.exit(1)
11-
})
9+
console.error(error.message);
10+
process.exit(1);
11+
});

spec/dummy/bin/shakapacker-config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env node
22

33
// Minimal shim - all logic is in the TypeScript module
4-
const { run } = require("shakapacker/configExporter")
4+
const { run } = require('shakapacker/configExporter');
55

66
run(process.argv.slice(2))
77
.then((exitCode) => process.exit(exitCode))
88
.catch((error) => {
9-
console.error(error.message)
10-
process.exit(1)
11-
})
9+
console.error(error.message);
10+
process.exit(1);
11+
});

0 commit comments

Comments
 (0)