Skip to content

Commit

Permalink
Rebase and update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott committed Jan 2, 2025
1 parent d62b59d commit 04f60ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/resource_notebook.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func ResourceNotebook() common.Resource {
oldFormat := d.Get("format").(string)
if oldFormat == "" {
source := d.Get("source").(string)
// check if `source` is set, and if it is, use file exension to determine format
// check if `source` is set, and if it is, use file extension to determine format
if source != "" {
ext := strings.ToLower(filepath.Ext(source))
oldFormat = extMap[ext].Format
Expand Down

0 comments on commit 04f60ca

Please sign in to comment.