rigjs 2.0.19-alpha.1 → 2.0.19-alpha.2

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.
@@ -23,12 +23,7 @@ const useEnv = (mode,extra)=>{
23
23
  }
24
24
  print.info(`using env:`)
25
25
  console.log(content);
26
- fs.writeFile('./.env.rig', content, {flag: "w"}, err => {
27
- if (err){
28
- print.error(err);
29
- process.exit(1)
30
- }
31
- });
26
+ fs.writeFileSync('./.env.rig', content, {flag: "w"});
32
27
  } else {
33
28
  print.error("请先在env.rig.json5文件中配置" + mode + "模式的环境变量");
34
29
  process.exit(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rigjs",
3
- "version": "2.0.19-alpha.1",
3
+ "version": "2.0.19-alpha.2",
4
4
  "description": "A multi-repos dev tool based on yarn and git.Rig is inspired by cocoapods. Not like those monorepo solutions,rig is a tool for organizing multi-repos.",
5
5
  "keywords": [
6
6
  "modular",