mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(Toolkit/Plugin): throw an Error instead of a string (#26618)
This commit is contained in:
parent
17605033a2
commit
bdbea6d1f2
@ -116,7 +116,7 @@ const packagePluginRunner: TaskRunner<PluginCIOptions> = async () => {
|
||||
|
||||
fs.exists(jobsDir, jobsDirExists => {
|
||||
if (!jobsDirExists) {
|
||||
throw 'You must run plugin:ci-build prior to running plugin:ci-package';
|
||||
throw new Error('You must run plugin:ci-build prior to running plugin:ci-package');
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user