Skip to content

Commit eb6d6d0

Browse files
author
Heiner Pöpping
committed
Improve warning when package cannot be resolved
1 parent 31a8a52 commit eb6d6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/resolvePackageVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const resolvePackageVersion = async (pkg, tag) => {
1717
const version = Array.isArray(parsedResult) ? parsedResult.pop() : parsedResult;
1818
return `^${version}`;
1919
} catch {
20-
console.warn(`Could not resolve ${chalk.cyanBright(target)}`);
20+
console.warn(`\n Could not resolve ${chalk.yellow(target)}`);
2121
return tag || 'latest';
2222
}
2323
};

0 commit comments

Comments
 (0)