Commit bdbea6d1 by Levente Balogh Committed by GitHub

fix(Toolkit/Plugin): throw an Error instead of a string (#26618)

parent 17605033
...@@ -116,7 +116,7 @@ const packagePluginRunner: TaskRunner<PluginCIOptions> = async () => { ...@@ -116,7 +116,7 @@ const packagePluginRunner: TaskRunner<PluginCIOptions> = async () => {
fs.exists(jobsDir, jobsDirExists => { fs.exists(jobsDir, jobsDirExists => {
if (!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');
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment