mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
f92152195c
commit
fbc8ae25ad
5 changed files with 8 additions and 10 deletions
|
|
@ -212,7 +212,7 @@ module.exports.setCurrentFile = (currentFile, options) => {
|
|||
* but it should be false
|
||||
* to prevent default behavior
|
||||
*/
|
||||
if (!o || o.history !== false) {
|
||||
if (!o || o.history) {
|
||||
const historyPath = path === '/' ? path : FS + path;
|
||||
DOM.setHistory(historyPath, null, historyPath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue