mirror of
https://github.com/paperclipai/paperclip
synced 2026-04-25 17:25:15 +02:00
Regenerate embedded-postgres vendor patch
Rebuild the patch file with valid unified-diff hunks so pnpm can apply the locale and environment fixes during install. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
diff --git a/dist/index.js b/dist/index.js
|
diff --git a/dist/index.js b/dist/index.js
|
||||||
index ccfe17a82f4879bf20cc345c579a987d9eba5309..dd689f5908f625f49b4785318daea736aa88927f 100644
|
|
||||||
--- a/dist/index.js
|
--- a/dist/index.js
|
||||||
+++ b/dist/index.js
|
+++ b/dist/index.js
|
||||||
@@ -24,7 +24,7 @@ const { Client } = pg;
|
@@ -23,7 +23,7 @@
|
||||||
* output of the `initdb` command to see if Postgres is ready. As we're looking
|
|
||||||
* for a particular string, we need to force that string into the right locale.
|
* for a particular string, we need to force that string into the right locale.
|
||||||
* @see https://github.com/leinelissen/embedded-postgres/issues/15
|
* @see https://github.com/leinelissen/embedded-postgres/issues/15
|
||||||
*/
|
*/
|
||||||
@@ -12,16 +10,16 @@ index ccfe17a82f4879bf20cc345c579a987d9eba5309..dd689f5908f625f49b4785318daea736
|
|||||||
// The default configuration options for the class
|
// The default configuration options for the class
|
||||||
const defaults = {
|
const defaults = {
|
||||||
databaseDir: path.join(process.cwd(), 'data', 'db'),
|
databaseDir: path.join(process.cwd(), 'data', 'db'),
|
||||||
@@ -133,7 +133,7 @@ class EmbeddedPostgres {
|
@@ -133,7 +133,7 @@
|
||||||
`--pwfile=${passwordFile}`,
|
`--pwfile=${passwordFile}`,
|
||||||
`--lc-messages=${LC_MESSAGES_LOCALE}`,
|
`--lc-messages=${LC_MESSAGES_LOCALE}`,
|
||||||
...this.options.initdbFlags,
|
...this.options.initdbFlags,
|
||||||
- ], Object.assign(Object.assign({}, permissionIds), { env: { LC_MESSAGES: LC_MESSAGES_LOCALE } }));
|
- ], Object.assign(Object.assign({}, permissionIds), { env: { LC_MESSAGES: LC_MESSAGES_LOCALE } }));
|
||||||
+ ], Object.assign(Object.assign({}, permissionIds), { env: Object.assign(Object.assign({}, globalThis.process.env), { LC_MESSAGES: LC_MESSAGES_LOCALE }) }));
|
+ ], Object.assign(Object.assign({}, permissionIds), { env: Object.assign(Object.assign({}, globalThis.process.env), { LC_MESSAGES: LC_MESSAGES_LOCALE }) }));
|
||||||
// Connect to stderr, as that is where the messages get sent
|
// Connect to stderr, as that is where the messages get sent
|
||||||
(_a = process.stdout) === null || _a === void 0 ? void 0 : _a.on('data', (chunk) => {
|
(_a = process.stdout) === null || _a === void 0 ? void 0 : _a.on('data', (chunk) => {
|
||||||
// Parse the data as a string and log it
|
// Parse the data as a string and log it
|
||||||
@@ -177,7 +177,7 @@ class EmbeddedPostgres {
|
@@ -177,7 +177,7 @@
|
||||||
'-p',
|
'-p',
|
||||||
this.options.port.toString(),
|
this.options.port.toString(),
|
||||||
...this.options.postgresFlags,
|
...this.options.postgresFlags,
|
||||||
|
|||||||
Reference in New Issue
Block a user