Skip to content

Commit 3777779

Browse files
committed
changed config file's default name to avoid conflicts on Windows
maddeningly, executing `faucet` on Windows actually results in `faucet.js` being opened (as per `PATHEXT`) - cf. https://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection127121120120 > If the command name does not specify a path, the shell searches the > current directory for an executable file matching the command name.
1 parent 51b3c17 commit 3777779

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/faucet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Options:
1212
-h, --help
1313
display this help message
1414
-c, --config
15-
configuration file (defaults to \`faucet.js\`)
15+
configuration file (defaults to \`faucet.config.js\`)
1616
-w, --watch
1717
monitor the file system for changes to recompile automatically
1818
--no-fingerprint

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const PLUGINS = {
88
sass: "faucet-pipeline-sass"
99
};
1010

11-
module.exports = (rootDir, config = "faucet.js", // eslint-disable-next-line indent
11+
module.exports = (rootDir, config = "faucet.config.js", // eslint-disable-next-line indent
1212
{ watch, fingerprint = true, compact }) => {
1313
let configPath = path.resolve(rootDir, config);
1414
let configDir = path.dirname(configPath);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "faucet-pipeline",
3-
"version": "0.11.3",
3+
"version": "0.12.0",
44
"description": "front-end asset pipeline",
55
"author": "FND",
66
"contributors": [

0 commit comments

Comments
 (0)