add toaster

pull/5370/head
yann300 3 years ago
parent dbb67b4cf6
commit 4f852d6e45
  1. 4
      apps/remix-ide/src/app/tabs/intelligent-script-executor.ts

@ -56,7 +56,9 @@ export class IntelligentScriptExecutor extends Plugin {
if (file) {
this.runScript(file, true)
_paq.push(['trackEvent', 'ScriptExecutor', 'run_script_after_compile'])
}
} else {
this.call('notification', 'toast', 'You have not set a script. Set it with @dev-run-script natspac tag.')
}
}
})
}

Loading…
Cancel
Save