Skip to content

Commit 650dc78

Browse files
authored
Hotfix: Fix configuration check and update log message. (#86) (#87)
* Fix configuration check and update log message. (#86) * Updated version from 3.1.0 to 3.1.1. Co-authored-by: Akkora <>
1 parent 1e93b2a commit 650dc78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scss-bundle",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "Bundling SCSS files to one bundled file.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/cli/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ async function main(argv: string[]): Promise<void> {
140140
Log.info("Waiting for changes...");
141141
});
142142

143-
if (config.rootDir) {
144-
Log.warn("rootDir property is missing, using cwd.");
143+
if (!config.rootDir) {
144+
Log.warn(`rootDir property is missing in config, using current working directory: ${process.cwd()}`);
145145
}
146146

147147
const watchFolder = config.rootDir ?? process.cwd();

0 commit comments

Comments
 (0)