You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
// Dev toolsvarfs=require('fs-plus');varbufferToChange=atom.workspace.getActivePaneItem();varfilePath=bufferToChange.getPath();varnewPath=filePath+"2";fs.moveSync(filePath,newPath);//or .removeSync()
Observe that 'PATH CHANGED' does not appear in the console. If you change moveSync to .saveAs(), 'PATH CHANGED' will appear.
Simple repro steps:
Observe that
'PATH CHANGED'
does not appear in the console. If you change moveSync to.saveAs()
,'PATH CHANGED'
will appear.To verify that a fix works just make sure this text-buffer spec passes on Linux.
Refs atom/atom#7315.
The text was updated successfully, but these errors were encountered: