git-commit-file
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -11,12 +11,8 @@ const chalk = require('chalk') | ||
const webpackConfigPath = findUp.sync('webpack.config.js') || findUp.sync('webpack.config.json') | ||
console.log('webpackConfigPath', webpackConfigPath) | ||
/* istanbul ignore next */ | ||
try { | ||
const webpackConfig = require(webpackConfigPath) | ||
console.log('webpackConfig', webpackConfig) | ||
console.log('webpackConfig.output.filename', webpackConfig.output.filename) | ||
return webpackConfig.output.filename | ||
} catch (e) { | ||
throw (e) | ||
// return undefined | ||
return undefined | ||
} | ||
@@ -23,0 +19,0 @@ }, |
{ | ||
"name": "git-commit-file", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Git add and commit a single file in a single command", | ||
@@ -5,0 +5,0 @@ "author": "danday74", |
73437
184