New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

my-ci

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my-ci - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3-1

6

bin/workspace-init.js

@@ -10,2 +10,3 @@ #!/usr/bin/env node

const projectRootPath = path.resolve();
let projectName = '';

@@ -19,3 +20,4 @@ // 读取yml配置文件

if (ymlConfig.project) {
newWorkspace(ymlConfig.project);
projectName = ymlConfig.project
newWorkspace(projectName);
} else {

@@ -26,3 +28,3 @@ throw 'project属性不能为空';

if (err?.code === 'EEXIST') {
console.error(`${project}已存在,请在yml配置中设置一个不重复的project属性`);
console.error(`${ymlConfig.project}已存在,请在yml配置中设置一个不重复的project属性`);
} else {

@@ -29,0 +31,0 @@ console.error('项目初始化失败: ', err);

{
"name": "my-ci",
"version": "1.0.2",
"version": "1.0.3-1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc