pinokiod 0.1.28 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/index.js +7 -4
- package/package.json +1 -1
- package/server/index.js +2 -1
package/kernel/bin/index.js
CHANGED
|
@@ -201,10 +201,13 @@ class Bin {
|
|
|
201
201
|
console.log("pipconfig exists?", { pipconfig_path, pipconfig_exists })
|
|
202
202
|
// if not, create one
|
|
203
203
|
if (!pipconfig_exists) {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
204
|
+
const pipconfigStr = `[global]
|
|
205
|
+
timeout = 1000`
|
|
206
|
+
await fs.promises.writeFile(pipconfig_path, pipconfigStr)
|
|
207
|
+
// await fs.promises.copyFile(
|
|
208
|
+
// path.resolve(__dirname, "..", "pipconfig_template"),
|
|
209
|
+
// pipconfig_path
|
|
210
|
+
// )
|
|
208
211
|
}
|
|
209
212
|
|
|
210
213
|
|
package/package.json
CHANGED