We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e70b913 commit bc2b528Copy full SHA for bc2b528
1 file changed
index.js
@@ -100,6 +100,8 @@ Promise.resolve()
100
101
console.warn(chalk.bold.yellow('Warning: No files passed, reading from stdin\n'))
102
103
+ if (argv.replace || argv.dir) error('Cannot use --dir or --replace when reading from stdin')
104
+
105
if (argv.watch) {
106
error('Cannot run in watch mode when reading from stdin')
107
}
0 commit comments