Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis-command-release

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-command-release - npm Package Compare versions

Comparing version 0.8.10 to 0.8.11

2

package.json
{
"name" : "fis-command-release",
"description" : "fis release command.",
"version" : "0.8.10",
"version" : "0.8.11",
"author" : "FIS Team <fis@baidu.com>",

@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/",

@@ -150,3 +150,3 @@ /*

.option('-r, --root <path>', 'set project root')
.option('-C, --conf <filename>', 'set fis-conf filename, fis-conf.js by default', 'fis-conf.js')
.option('-f, --file <filename>', 'set fis-conf filename, fis-conf.js by default', 'fis-conf.js')
.option('-u, --unique', 'use unique compile caching', Boolean, false)

@@ -164,7 +164,9 @@ .option('--verbose', 'enable verbose output', Boolean, false)

}
var root, conf, filename = options.conf;
var root, conf, filename = options.file;
if(options.root){
root = fis.util.realpath(options.root);
if(fis.util.isDir(root)){
if(fis.util.isFile(root + '/' + filename)){
if(fis.util.isFile(filename)){
conf = fis.util.realpath(filename);
} else if(fis.util.isFile(root + '/' + filename)){
conf = root + '/' + filename;

@@ -171,0 +173,0 @@ }

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