add toaster

pull/2262/head
yann300 3 years ago
parent 33c9140137
commit 7b09cc857a
  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